/* JH 数据可视化仪表板样式 - 个性化增强版 */

/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 主题变量 */
:root {
    /* 浅色主题 */
    --bg-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --bg-secondary: #ffffff;  /* 改为不透明的白色 */
    --bg-card: #ffffff;
    --bg-form: #ffffff;  /* 新增表单专用背景 */
    --bg-input: #ffffff;  /* 新增输入框专用背景 */
    --text-primary: #333333;
    --text-secondary: #666666;
    --text-muted: #999999;
    --border-color: rgba(255, 255, 255, 0.2);
    --border-light: #e0e0e0;
    --shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 5px 30px rgba(102, 126, 234, 0.3);
    /* 兼容旧变量命名 */
    --card-bg: var(--bg-card);
    --secondary-bg: var(--bg-secondary);
}

/* 深色主题 */
.dark-theme {
    --bg-primary: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
    --bg-secondary: #2c3e50;  /* 改为不透明 */
    --bg-card: #34495e;
    --bg-form: #34495e;  /* 新增深色主题表单背景 */
    --bg-input: #455a64;  /* 新增深色主题输入框背景 */
    --text-primary: #ffffff;
    --text-secondary: #cccccc;
    --text-muted: #888888;
    --border-color: rgba(255, 255, 255, 0.1);
    --border-light: #444444;
    --shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
    --shadow-hover: 0 5px 30px rgba(52, 152, 219, 0.4);
    /* 兼容旧变量命名 */
    --card-bg: var(--bg-card);
    --secondary-bg: var(--bg-secondary);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--bg-primary);
    min-height: 100vh;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

/* 头部导航样式 */
.dashboard-header {
    background: var(--bg-secondary);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
}

.header-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-left h1 {
    color: #667eea;
    font-size: 1.8rem;
    font-weight: 600;
}

.header-left h1 i {
    margin-right: 0.5rem;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.theme-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-right: 1rem;
    padding-right: 1rem;
    border-right: 1px solid var(--border-light);
}

.user-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--text-secondary);
}

/* 按钮样式 */
.btn {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    background: var(--bg-card);
    color: var(--text-primary);
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-outline {
    background: transparent;
    border: 2px solid #667eea;
    color: #667eea;
}

.btn-outline:hover {
    background: #667eea;
    color: white;
}

.btn-sm {
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
}

.btn-icon {
    padding: 0.5rem;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-icon:hover {
    background: var(--border-light);
    transform: scale(1.1);
}

/* 配置面板样式 */
.config-panel {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100vh;
    background: var(--bg-card);
    box-shadow: var(--shadow);
    z-index: 2000;
    transition: right 0.3s ease;
    overflow-y: auto;
}

.config-panel.active {
    right: 0;
}

.config-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    border-bottom: 1px solid var(--border-light);
    background: var(--bg-secondary);
}

.config-header h3 {
    color: var(--text-primary);
    font-size: 1.2rem;
}

.config-content {
    padding: 1rem;
}

.config-section {
    margin-bottom: 2rem;
}

.config-section h4 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-size: 1rem;
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 0.5rem;
}

/* 主题选项 */
.theme-options {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.theme-btn {
    padding: 0.8rem;
    border: 2px solid var(--border-light);
    border-radius: 8px;
    background: var(--bg-card);
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.theme-btn:hover,
.theme-btn.active {
    border-color: #667eea;
    background: #667eea;
    color: white;
}

/* 图表配置列表 */
.chart-config-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.chart-config-item {
    padding: 1rem;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    background: var(--bg-secondary);
}

.chart-config-item h5 {
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.layout-options {
    display: flex;
    gap: 0.5rem;
}

/* 主要内容区域 */
.dashboard-main {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
}

/* 概览卡片样式 */
.overview-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.overview-card {
    background: var(--bg-card);
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 1px solid var(--border-light);
}

.overview-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.card {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.card-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.card-content h3 {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.metric-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.metric-change {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.change-positive {
    color: #10b981;
}

.change-negative {
    color: #ef4444;
}

.change-neutral {
    color: var(--text-secondary);
}

/* 图表区域样式 */
.charts-section {
    margin-bottom: 2rem;
}

.charts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.chart-card {
    background: var(--bg-card);
    border-radius: 15px;
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid var(--border-light);
    position: relative;
}

.chart-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.chart-card.sortable-ghost {
    opacity: 0.5;
    background: var(--border-light);
}

.chart-card.sortable-chosen {
    transform: scale(1.05);
    z-index: 1000;
}

.chart-header {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--border-light);
    background: linear-gradient(135deg, var(--bg-secondary) 0%, rgba(102, 126, 234, 0.02) 100%);
    border-radius: 8px 8px 0 0;
}

.chart-title-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.chart-title-row h3 {
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
}

.chart-title-row h3 i {
    color: var(--primary-color);
}

.chart-controls-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.chart-selectors {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
}

.chart-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.chart-type-selector,
.chart-dimension-selector {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.chart-type-selector label,
.chart-dimension-selector label {
    font-size: 0.7rem;
    color: var(--text-secondary);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.chart-type-select,
.dimension-select {
    padding: 0.4rem 0.6rem;
    border: 1px solid var(--border-light);
    border-radius: 6px;
    background: var(--bg-card);
    color: var(--text-primary);
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 120px;
}

.chart-type-select:hover,
.dimension-select:hover {
    border-color: var(--primary-color);
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.1);
}

.chart-type-select:focus,
.dimension-select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.drag-handle {
    cursor: move;
    opacity: 0.6;
    transition: all 0.2s ease;
}

.drag-handle:hover {
    opacity: 1;
    background-color: rgba(102, 126, 234, 0.1);
    transform: scale(1.05);
}

.chart-actions .btn {
    padding: 0.5rem;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.chart-actions .btn:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.chart-container {
    padding: 1rem;
    height: auto;
    min-height: 300px;
    max-height: 500px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chart-container canvas {
    max-width: 100% !important;
    max-height: 100% !important;
    width: auto !important;
    height: auto !important;
}

/* 数据表格增强样式 */
.data-table-section {
    margin-bottom: 2rem;
}

.table-card {
    background: var(--bg-card);
    border-radius: 15px;
    box-shadow: var(--shadow);
    overflow: hidden;
    border: 1px solid var(--border-light);
}

.table-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-light);
    background: var(--bg-secondary);
}

.table-header h3 {
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.advanced-filters {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.filter-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.filter-group label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    white-space: nowrap;
}

.filter-group select,
.filter-group input {
    padding: 0.4rem 0.8rem;
    border: 1px solid var(--border-light);
    border-radius: 6px;
    background: var(--bg-card);
    color: var(--text-primary);
    font-size: 0.9rem;
}

.salary-range {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.salary-range input {
    width: 100px;
}

.search-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.search-group input {
    width: 250px;
}

.action-group {
    display: flex;
    gap: 0.5rem;
    margin-left: auto;
}

.table-container {
    overflow-x: auto;
    max-height: 600px;
    overflow-y: auto;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-card);
}

.data-table th,
.data-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border-light);
    color: var(--text-primary);
}

.data-table th {
    background: var(--bg-secondary);
    font-weight: 600;
    position: sticky;
    top: 0;
    z-index: 10;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.data-table th:hover {
    background: var(--border-light);
}

.data-table th i {
    margin-left: 0.5rem;
    opacity: 0.6;
}

.data-table tr:hover {
    background: var(--bg-secondary);
}

.action-btn {
    padding: 0.3rem 0.8rem;
    font-size: 0.8rem;
}

/* 增强分页样式 */
.pagination-enhanced {
    padding: 1rem 1.5rem;
    background: var(--bg-secondary);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.pagination-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.pagination-info select {
    padding: 0.3rem 0.5rem;
    border: 1px solid var(--border-light);
    border-radius: 4px;
    background: var(--bg-card);
    color: var(--text-primary);
}

.pagination-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.page-numbers {
    display: flex;
    gap: 0.25rem;
}

.page-number {
    padding: 0.4rem 0.8rem;
    border: 1px solid var(--border-light);
    border-radius: 4px;
    background: var(--bg-card);
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.8rem;
}

.page-number:hover,
.page-number.active {
    background: #667eea;
    color: white;
    border-color: #667eea;
}

/* 加载遮罩 */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.loading-overlay.active {
    display: flex;
}

.loading-spinner {
    text-align: center;
    color: white;
}

.loading-spinner i {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.loading-spinner p {
    font-size: 1.2rem;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .header-content {
        padding: 0 1rem;
        flex-direction: column;
        gap: 1rem;
    }
    
    .dashboard-main {
        padding: 1rem;
    }
    
    .charts-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .overview-cards {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1rem;
    }
    
    .chart-controls-row {
        flex-direction: column;
        gap: 0.5rem;
        align-items: stretch;
    }
    
    .chart-selectors {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .chart-type-selector,
    .chart-dimension-selector {
        width: 100%;
    }
    
    .chart-type-select,
    .dimension-select {
        min-width: auto;
        width: 100%;
    }
    
    .chart-actions {
        justify-content: center;
        width: 100%;
    }
    
    .config-panel {
        width: 100%;
        right: -100%;
    }
    
    .filter-row {
        flex-direction: column;
        align-items: stretch;
    }
    
    .pagination-enhanced {
        flex-direction: column;
        text-align: center;
    }
    
    .search-group input {
        width: 200px;
    }
}

@media (max-width: 480px) {
    .chart-header {
        padding: 0.5rem 0.75rem;
    }
    
    .chart-title-row h3 {
        font-size: 0.9rem;
    }
    
    .chart-title-row h3 i {
        font-size: 0.8rem;
    }
    
    .chart-controls-row {
        justify-content: center;
    }
    
    .overview-cards {
        grid-template-columns: 1fr;
    }
    
    .table-container {
        font-size: 0.8rem;
    }
    
    .data-table th,
    .data-table td {
        padding: 0.5rem;
    }
}

/* 动画效果 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.chart-card,
    .overview-card {
    animation: fadeIn 0.5s ease;
}

/* 滚动条样式 */
.table-container::-webkit-scrollbar,
.config-panel::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

.table-container::-webkit-scrollbar-track,
.config-panel::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

.table-container::-webkit-scrollbar-thumb,
.config-panel::-webkit-scrollbar-thumb {
    background: var(--border-light);
    border-radius: 4px;
}

.table-container::-webkit-scrollbar-thumb:hover,
.config-panel::-webkit-scrollbar-thumb:hover {
    background: var(--text-muted);
}

/* 焦点和无障碍样式 */
.btn:focus,
select:focus,
input:focus {
    outline: 2px solid #667eea;
    outline-offset: 2px;
}

/* 打印样式 */
@media print {
    .dashboard-header,
    .config-panel,
    .chart-controls,
    .pagination-enhanced {
        display: none;
    }
    
    .chart-card {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ccc;
    }
    
    body {
        background: white;
        color: black;
    }
}

/* 搜索容器样式 */
.search-container {
    margin-bottom: 1.5rem;
}

.search-input-wrapper {
    position: relative;
    max-width: 500px;
    margin: 0 auto;
}

.search-input-wrapper .search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    z-index: 2;
}

.search-input-wrapper input {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 2.5rem;
    border: 2px solid var(--border-light);
    border-radius: 25px;
    font-size: 1rem;
    background: var(--bg-card);
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.search-input-wrapper input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.search-btn {
    position: absolute;
    right: 0.25rem;
    top: 50%;
    transform: translateY(-50%);
    background: #667eea;
    color: white;
    border: none;
    border-radius: 50%;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-btn:hover {
    background: #5a6fd8;
    transform: translateY(-50%) scale(1.05);
}

/* 标签筛选器样式 */
.tag-filters {
    background: var(--bg-secondary);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid var(--border-light);
    }
    
.filter-section {
    margin-bottom: 1.5rem;
}

.filter-section:last-child {
    margin-bottom: 0;
}

.filter-section h5 {
    margin: 0 0 0.75rem 0;
    font-weight: 600;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.filter-section h5 i {
    color: #667eea;
        font-size: 0.8rem;
    }
    
.tag-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.filter-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--bg-card);
    border: 2px solid var(--border-light);
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.85rem;
    font-weight: 500;
    user-select: none;
}

.filter-tag:hover {
    border-color: #667eea;
    background: #667eea;
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

.filter-tag.active {
    background: #667eea;
    border-color: #667eea;
    color: white;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

.filter-tag i {
    font-size: 0.75rem;
    opacity: 0.8;
}

/* 薪资筛选器样式 */
.salary-filter {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.salary-inputs {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.salary-inputs input {
    width: 120px;
        padding: 0.5rem;
    border: 2px solid var(--border-light);
    border-radius: 8px;
    font-size: 0.85rem;
    background: var(--bg-card);
    color: var(--text-primary);
    transition: border-color 0.3s ease;
}

.salary-inputs input:focus {
    outline: none;
    border-color: #667eea;
}

.salary-inputs span {
    color: var(--text-muted);
    font-weight: 500;
}

/* 筛选器操作区域 */
.filter-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-light);
}

.active-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.active-filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem 0.5rem;
    background: #667eea;
    color: white;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
}

.active-filter-chip .remove-filter {
    background: none;
    border: none;
    color: white;
    font-size: 0.7rem;
    cursor: pointer;
    padding: 0;
    margin-left: 0.25rem;
    border-radius: 50%;
    width: 1rem;
    height: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
}

.active-filter-chip .remove-filter:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* 按钮样式改进 */
.btn.btn-outline {
    background: transparent;
    border: 2px solid var(--border-light);
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.btn.btn-outline:hover {
    border-color: #667eea;
    background: #667eea;
    color: white;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .tag-filters {
        padding: 1rem;
    }
    
    .filter-actions {
        flex-direction: column;
        align-items: stretch;
    }
    
    .salary-filter {
        flex-direction: column;
        align-items: stretch;
    }
    
    .salary-inputs {
        justify-content: center;
    }
}

/* 新增筛选器展开/折叠样式 */
.filter-toggle-section {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.filter-toggle-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

.filter-toggle-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.filter-toggle-btn.active {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}

.filter-count {
    background: rgba(255, 255, 255, 0.2);
    padding: 2px 6px;
    border-radius: 10px;
    font-size: 12px;
    min-width: 18px;
    text-align: center;
    display: none; /* 默认隐藏，没有筛选器时不显示 */
}

.toggle-icon {
    transition: transform 0.3s ease;
}

.filter-toggle-btn.active .toggle-icon {
    transform: rotate(180deg);
}

.filters-panel {
    background: var(--bg-card);
    border-radius: 12px;
    margin-bottom: 20px;
    box-shadow: var(--shadow);
    overflow: hidden;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.filters-container {
    padding: 20px;
}

/* 标签式筛选器样式 */
.filter-section {
    margin-bottom: 25px;
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 20px;
}

.filter-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.filter-section-title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.filter-section-title i {
    color: #667eea;
    font-size: 16px;
}

.tag-filter-group {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.filter-tag {
    background: var(--bg-secondary);
    color: var(--text-primary);
    border: 1px solid var(--border-light);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.filter-tag::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.filter-tag:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.filter-tag:hover::before {
    left: 100%;
}

.filter-tag.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-color: #667eea;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

.filter-tag.active::before {
    display: none;
}

/* 改进的输入框样式 */
.filter-input-group {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.salary-range-inputs {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.salary-range-inputs input {
    flex: 1;
    min-width: 120px;
    padding: 10px 12px;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    background: var(--bg-input) !important;
    color: var(--text-primary);
    font-size: 14px;
    transition: all 0.3s ease;
}

.salary-range-inputs input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.range-separator {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 14px;
    padding: 0 4px;
}

.search-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.search-input-wrapper input {
    flex: 1;
    padding: 10px 50px 10px 12px;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    background: var(--bg-input) !important;
    color: var(--text-primary);
    font-size: 14px;
    transition: all 0.3s ease;
}

.search-input-wrapper input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.search-btn {
    position: absolute;
    right: 8px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 6px 8px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.4);
}

/* 改进的操作按钮样式 */
.filter-actions {
    display: flex;
    gap: 12px;
    padding-top: 15px;
    border-top: 1px solid var(--border-light);
    margin-top: 15px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.btn-secondary {
    background: var(--bg-secondary);
    color: var(--text-primary);
    border: 1px solid var(--border-light);
}

.btn-secondary:hover {
    background: var(--border-light);
    transform: translateY(-1px);
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #5a67d8 0%, #6b46c1 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .filters-container {
        padding: 15px;
    }
    
    .filter-section-title {
        font-size: 13px;
    }
    
    .tag-filter-group {
        gap: 6px;
    }
    
    .filter-tag {
        padding: 6px 12px;
        font-size: 12px;
    }
    
    .filter-input-group {
        gap: 12px;
    }
    
    .salary-range-inputs {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }
    
    .salary-range-inputs input {
        min-width: unset;
    }
    
    .range-separator {
        display: none;
    }
    
    .filter-actions {
        justify-content: center;
        gap: 8px;
    }
    
    .btn {
        flex: 1;
        min-width: 120px;
    }
}

@media (max-width: 480px) {
    .filter-tag {
        padding: 5px 10px;
        font-size: 11px;
    }
    
    .filter-section {
        margin-bottom: 20px;
        padding-bottom: 15px;
    }
    
    .search-input-wrapper input {
        padding: 8px 40px 8px 10px;
        font-size: 13px;
    }
    
    .search-btn {
        right: 6px;
        padding: 4px 6px;
    }
}

.filter-group {
    margin-bottom: 20px;
}

.filter-group:last-child {
    margin-bottom: 0;
}

.filter-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 10px;
    font-size: 14px;
}

.filter-label i {
    color: #667eea;
}

.salary-apply-btn {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}

.salary-apply-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(40, 167, 69, 0.3);
}

.salary-separator {
    color: var(--text-muted);
    font-weight: bold;
}

.filter-actions {
    display: flex;
    gap: 10px;
    padding-top: 15px;
    border-top: 1px solid var(--border-light);
    margin-top: 15px;
    flex-wrap: wrap;
}

.reset-filters-btn, .close-filters-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    border: none;
    border-radius: 6px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.reset-filters-btn {
    background: linear-gradient(135deg, #dc3545 0%, #fd7e14 100%);
    color: white;
}

.close-filters-btn {
    background: var(--border-light);
    color: var(--text-secondary);
}

.reset-filters-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(220, 53, 69, 0.3);
}

.close-filters-btn:hover {
    background: var(--text-muted);
    color: white;
}

.active-filters {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

.active-filter-chip {
    display: flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 6px 10px;
    border-radius: 15px;
    font-size: 12px;
    animation: fadeIn 0.3s ease;
}

.remove-filter {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 10px;
    transition: all 0.2s ease;
}

.remove-filter:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* 活跃筛选标签显示样式 */
.active-filters-display {
    margin-top: 15px;
    padding: 15px;
    background: var(--bg-card);
    border-radius: 12px;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow);
    animation: slideDown 0.3s ease;
}

.active-filters-header {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--text-primary);
    font-size: 14px;
}

.active-filters-header i {
    margin-right: 8px;
    color: #667eea;
}

.active-filters-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.active-filter-tag {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: all 0.2s ease;
    animation: fadeIn 0.3s ease;
}

.active-filter-tag:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.active-filter-tag .filter-label {
    margin-right: 5px;
    opacity: 0.8;
}

.active-filter-tag .remove-filter {
    margin-left: 8px;
    padding: 2px 4px;
    background: rgba(255,255,255,0.2);
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    transition: all 0.2s ease;
}

.active-filter-tag .remove-filter:hover {
    background: rgba(255,255,255,0.3);
    transform: scale(1.1);
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 独立搜索框样式 */
.search-section {
    margin-bottom: 15px;
    padding: 15px;
    background: var(--bg-card);
    border-radius: 12px;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow);
}

.search-section .search-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    max-width: 500px;
    margin: 0 auto;
}

.search-section .search-input-wrapper input {
    width: 100%;
    padding: 12px 50px 12px 15px;
    border: 2px solid var(--border-light);
    border-radius: 25px;
    background: var(--bg-secondary);
    color: var(--text-primary);
    font-size: 14px;
    transition: all 0.3s ease;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.search-section .search-input-wrapper input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1), inset 0 2px 4px rgba(0, 0, 0, 0.1);
    background: var(--bg-card);
}

.search-section .search-btn {
    position: absolute;
    right: 6px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 8px 10px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

.search-section .search-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.search-section .search-btn i {
    font-size: 14px;
}

/* 移动端搜索框适配 */
@media (max-width: 768px) {
    .search-section {
        padding: 12px;
    }
    
    .search-section .search-input-wrapper {
        max-width: 100%;
    }
    
    .search-section .search-input-wrapper input {
        padding: 10px 45px 10px 12px;
        font-size: 13px;
    }
    
    .search-section .search-btn {
        padding: 6px 8px;
        right: 5px;
    }
} 

/* 筛选器标签页样式 */
.filter-tabs {
    display: flex;
    border-bottom: 2px solid var(--border-light);
    margin-bottom: 20px;
}

.filter-tab {
    padding: 12px 20px;
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 120px;
    justify-content: center;
}

.filter-tab:hover {
    color: var(--text-primary);
    background: var(--bg-secondary);
}

.filter-tab.active {
    color: #667eea;
    border-bottom-color: #667eea;
    background: var(--bg-secondary);
}

.filter-tab i {
    font-size: 16px;
}

.filter-tab-content {
    display: none;
    animation: fadeIn 0.3s ease;
}

.filter-tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 薪资范围提示样式 */
.salary-range-hints {
    margin-top: 10px;
    padding: 8px 12px;
    background: var(--bg-secondary);
    border-radius: 6px;
    border-left: 3px solid #667eea;
}

.salary-range-hints small {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-muted);
}

.salary-range-hints i {
    color: #667eea;
}

/* 响应式设计改进 */
@media (max-width: 768px) {
    .filter-tabs {
        flex-wrap: wrap;
    }
    
    .filter-tab {
        min-width: 100px;
        padding: 10px 15px;
        font-size: 13px;
    }
} 

/* ===========================================
   主标签页系统样式
   =========================================== */

/* 主标签页导航 */
.main-tabs-nav {
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-light);
    position: sticky;
    top: 73px; /* 考虑header高度 */
    z-index: 999;
    backdrop-filter: blur(10px);
}

.tabs-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    gap: 0;
}

.main-tab {
    background: transparent;
    border: none;
    padding: 1rem 1.5rem;
    cursor: pointer;
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 500;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
}

.main-tab i {
    font-size: 1.1rem;
}

.main-tab:hover {
    color: var(--text-primary);
    background: rgba(102, 126, 234, 0.1);
}

.main-tab.active {
    color: #667eea;
    border-bottom-color: #667eea;
    background: rgba(102, 126, 234, 0.1);
}

.main-tab.active::before {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 2px 2px 0 0;
}

/* 标签页内容 */
.tab-content {
    display: none;
    animation: fadeIn 0.3s ease;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from { 
        opacity: 0; 
        transform: translateY(10px);
    }
    to { 
        opacity: 1; 
        transform: translateY(0);
    }
}

/* 功能容器样式 */
.feature-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
}

.feature-header {
    text-align: center;
    margin-bottom: 3rem;
}

.feature-header h2 {
    font-size: 2.2rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-weight: 600;
}

.feature-header h2 i {
    color: #667eea;
    margin-right: 0.5rem;
}

.feature-header p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ===========================================
   自身分析页面样式
   =========================================== */

.analysis-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(520px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.analysis-card {
    background: var(--bg-card);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.analysis-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.analysis-card.full-width {
    grid-column: 1 / -1;
}

.analysis-card .card-header {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-light);
}

.analysis-card .card-header h3 {
    color: var(--text-primary);
    font-size: 1.3rem;
    font-weight: 600;
}

.analysis-card .card-header h3 i {
    color: #667eea;
    margin-right: 0.5rem;
}

/* 上传区域样式 */
.skill-upload-section h4 {
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.upload-area {
    border: 2px dashed var(--border-light);
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.upload-area:hover {
    border-color: #667eea;
    background: rgba(102, 126, 234, 0.05);
}

.upload-area i {
    font-size: 3rem;
    color: #667eea;
    margin-bottom: 1rem;
}

.upload-area p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

/* 竞争力指标样式 */
.competitiveness-metrics {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.metric-item h4 {
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-size: 1rem;
}

.progress-bar {
    width: 100%;
    height: 12px;
    background: var(--border-light);
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.progress {
    height: 100%;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 6px;
    transition: width 0.8s ease;
}

.metric-value {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
}

/* 占位符内容样式 */
.placeholder-content {
    text-align: center;
    padding: 3rem;
    color: var(--text-muted);
}

.placeholder-content i {
    font-size: 4rem;
    color: #667eea;
    margin-bottom: 1rem;
}

.placeholder-content p {
    font-size: 1.1rem;
    line-height: 1.6;
}

/* ===========================================
   智能匹配页面样式
   =========================================== */

.matching-section {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* 匹配进度条样式 */
.matching-progress {
    background: var(--bg-form);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-light);
    margin-bottom: 2rem;
}

.progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.progress-header h4 {
    color: var(--text-primary);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.progress-header i {
    color: #667eea;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.progress-percent {
    font-size: 1.2rem;
    font-weight: bold;
    color: #667eea;
}

.progress-bar {
    height: 8px;
    background: var(--border-light);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 2rem;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 4px;
    transition: width 0.5s ease;
    width: 0%;
}

.progress-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1rem;
    border-radius: 8px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
}

.step.active {
    background: rgba(102, 126, 234, 0.1);
    border-color: #667eea;
    color: #667eea;
}

.step.completed {
    background: rgba(34, 197, 94, 0.1);
    border-color: #22c55e;
    color: #22c55e;
}

.step i {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.step span {
    font-size: 0.9rem;
    font-weight: 500;
}

/* 用户画像设置样式 */
.user-profile-setup {
    margin-bottom: 2rem;
}

.profile-card {
    background: var(--bg-form);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-light);
}

.card-header {
    margin-bottom: 2rem;
    text-align: center;
}

.card-header h3 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.card-header i {
    color: #667eea;
    font-size: 1.3rem;
}

.card-header p {
    color: var(--text-secondary);
    margin: 0;
}

.profile-section {
    margin-bottom: 2.5rem;
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 2rem;
}

.profile-section:last-of-type {
    border-bottom: none;
    padding-bottom: 0;
}

.profile-section h4 {
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.2rem;
}

.profile-section h4 i {
    color: #667eea;
}

/* 技能输入区域 */
.skills-input-area {
    space-y: 1.5rem;
}

.skill-input-group {
    display: flex;
    gap: 0.8rem;
    margin-bottom: 1rem;
    align-items: flex-end;
}

.skill-input-group input {
    flex: 2;
    padding: 0.8rem;
    border: 1px solid var(--border-light);
    border-radius: 6px;
    background: var(--bg-input);
    color: var(--text-primary);
    font-size: 0.95rem;
}

.skill-input-group select {
    flex: 1;
    padding: 0.8rem;
    border: 1px solid var(--border-light);
    border-radius: 6px;
    background: var(--bg-input);
    color: var(--text-primary);
    font-size: 0.95rem;
}

.skills-display {
    margin: 1.5rem 0;
    padding: 1rem;
    background: rgba(102, 126, 234, 0.05);
    border-radius: 8px;
    min-height: 60px;
    border: 1px dashed var(--border-light);
}

.skill-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.4rem 0.8rem;
    margin: 0.2rem;
    background: #667eea;
    color: white;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.skill-tag .skill-level {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.1rem 0.4rem;
    border-radius: 10px;
    font-size: 0.75rem;
}

.skill-tag .remove-skill {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 0;
    margin-left: 0.3rem;
    font-size: 0.8rem;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.skill-tag .remove-skill:hover {
    opacity: 1;
}

.quick-skills {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-light);
}

.quick-skills-label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
}

.quick-skill-btn {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    margin: 0.2rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border-light);
    border-radius: 15px;
    font-size: 0.85rem;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.2s ease;
}

.quick-skill-btn:hover {
    background: #667eea;
    color: white;
    border-color: #667eea;
}

/* 偏好设置样式 */
.preference-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.preference-item {
    display: flex;
    flex-direction: column;
}

.preference-item label {
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-weight: 500;
    font-size: 0.95rem;
}

.preference-item select, 
.preference-item input {
    padding: 0.8rem;
    border: 1px solid var(--border-light);
    border-radius: 6px;
    background: var(--bg-input);
    color: var(--text-primary);
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.preference-item select[multiple] {
    min-height: 120px;
}

.preference-item select:focus,
.preference-item input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.preference-item small {
    margin-top: 0.3rem;
    color: var(--text-muted);
    font-size: 0.8rem;
}

.salary-range {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.salary-range input {
    flex: 1;
}

.salary-range span {
    color: var(--text-secondary);
    font-weight: 500;
}

.salary-range select {
    flex: 0 0 auto;
    min-width: 100px;
}

/* 工作方式选项 */
.work-mode-options {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.radio-option {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 0.8rem;
    border: 1px solid var(--border-light);
    border-radius: 6px;
    transition: all 0.2s ease;
    background: var(--bg-secondary);
}

.radio-option:hover {
    border-color: #667eea;
    background: rgba(102, 126, 234, 0.05);
}

.radio-option input[type="radio"] {
    margin-right: 0.8rem;
    transform: scale(1.2);
}

.radio-option.selected {
    border-color: #667eea;
    background: rgba(102, 126, 234, 0.1);
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-primary);
    font-weight: 500;
}

.radio-label i {
    color: #667eea;
    font-size: 1.1rem;
}

/* 特质滑块样式 */
.traits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.trait-item {
    display: flex;
    flex-direction: column;
}

.trait-item label {
    margin-bottom: 0.8rem;
    color: var(--text-primary);
    font-weight: 500;
    font-size: 0.95rem;
}

.trait-slider {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.slider {
    flex: 1;
    height: 6px;
    border-radius: 3px;
    background: var(--border-light);
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}

.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #667eea;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    transition: all 0.2s ease;
}

.slider::-webkit-slider-thumb:hover {
    transform: scale(1.1);
    box-shadow: 0 3px 8px rgba(102, 126, 234, 0.4);
}

.slider::-moz-range-thumb {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #667eea;
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.trait-value {
    min-width: 30px;
    text-align: center;
    font-weight: bold;
    color: #667eea;
    font-size: 1.1rem;
}

/* 操作按钮样式 */
.profile-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-light);
}

/* 匹配结果样式 */
.matching-results {
    background: var(--bg-form);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-light);
}

.results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-light);
}

.results-header h3 {
    color: var(--text-primary);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.results-header i {
    color: #667eea;
}

.results-actions {
    display: flex;
    gap: 0.5rem;
}

/* 匹配概览统计 - 美化版本 */
.match-overview {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    border-radius: 16px;
    border: 1px solid rgba(102, 126, 234, 0.1);
    position: relative;
    overflow: hidden;
}

.match-overview::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    border-radius: 16px 16px 0 0;
}

.overview-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    padding: 2rem 1.5rem;
    background: var(--bg-secondary);
    border-radius: 12px;
    border: 1px solid var(--border-light);
    position: relative;
    transition: all 0.3s ease;
    cursor: pointer;
    overflow: hidden;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(102, 126, 234, 0.02) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.15);
    border-color: rgba(102, 126, 234, 0.3);
}

.stat-item:hover::before {
    opacity: 1;
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.3s ease;
}

.stat-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.2) 0%, rgba(118, 75, 162, 0.2) 100%);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.3s ease;
}

.stat-item:hover .stat-icon::after {
    transform: translate(-50%, -50%) scale(1);
}

.stat-icon i {
    font-size: 1.8rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 1;
}

.stat-content {
    flex: 1;
}

.stat-content h4 {
    margin: 0 0 0.3rem 0;
    font-size: 2.2rem;
    color: var(--text-primary);
    font-weight: 700;
    line-height: 1.2;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-content p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* 特定统计项的自定义颜色 */
.stat-item:nth-child(1) .stat-icon {
    background: linear-gradient(135deg, rgba(72, 187, 120, 0.1) 0%, rgba(56, 178, 172, 0.1) 100%);
}

.stat-item:nth-child(1) .stat-icon i {
    background: linear-gradient(135deg, #48bb78 0%, #38b2ac 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-item:nth-child(1) .stat-content h4 {
    background: linear-gradient(135deg, #48bb78 0%, #38b2ac 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-item:nth-child(2) .stat-icon {
    background: linear-gradient(135deg, rgba(237, 137, 54, 0.1) 0%, rgba(245, 101, 101, 0.1) 100%);
}

.stat-item:nth-child(2) .stat-icon i {
    background: linear-gradient(135deg, #ed8936 0%, #f56565 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-item:nth-child(2) .stat-content h4 {
    background: linear-gradient(135deg, #ed8936 0%, #f56565 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-item:nth-child(3) .stat-icon {
    background: linear-gradient(135deg, rgba(236, 201, 75, 0.1) 0%, rgba(253, 230, 138, 0.1) 100%);
}

.stat-item:nth-child(3) .stat-icon i {
    background: linear-gradient(135deg, #ecc94b 0%, #fde68a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-item:nth-child(3) .stat-content h4 {
    background: linear-gradient(135deg, #ecc94b 0%, #fde68a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-item:nth-child(4) .stat-icon {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1) 0%, rgba(196, 181, 253, 0.1) 100%);
}

.stat-item:nth-child(4) .stat-icon i {
    background: linear-gradient(135deg, #8b5cf6 0%, #c4b5fd 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-item:nth-child(4) .stat-content h4 {
    background: linear-gradient(135deg, #8b5cf6 0%, #c4b5fd 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* 职位推荐卡片 - 增强版本 */
.job-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.job-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    animation: slideInUp 0.6s ease forwards;
    opacity: 0;
    transform: translateY(20px);
}

@keyframes slideInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.job-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
    border-color: rgba(102, 126, 234, 0.3);
}

.job-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    border-radius: 16px 16px 0 0;
}

.job-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
    gap: 1rem;
}

.job-card-title {
    flex: 1;
    min-width: 0;
}

.job-card-title h4 {
    margin: 0 0 0.5rem 0;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.job-badge {
    display: inline-block;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    color: #667eea;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    border: 1px solid rgba(102, 126, 234, 0.2);
}

.job-match {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #48bb78 0%, #38b2ac 100%);
    color: white;
    font-weight: 700;
    font-size: 1.1rem;
    position: relative;
    flex-shrink: 0;
}

.job-match::after {
    content: '%';
    font-size: 0.8rem;
    margin-left: 1px;
}

/* 匹配度颜色变化 */
.job-card[data-match-level="high"] .job-match {
    background: linear-gradient(135deg, #48bb78 0%, #38b2ac 100%);
}

.job-card[data-match-level="medium"] .job-match {
    background: linear-gradient(135deg, #ed8936 0%, #f56565 100%);
}

.job-card[data-match-level="low"] .job-match {
    background: linear-gradient(135deg, #a0aec0 0%, #718096 100%);
}

.job-card-company {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.job-logo {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    object-fit: cover;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.job-card-company span {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 1rem;
}

.job-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 0.75rem;
    background: rgba(102, 126, 234, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(102, 126, 234, 0.1);
}

.job-card-meta span {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.job-card-meta i {
    color: #667eea;
    width: 16px;
    text-align: center;
}

/* 匹配理由突出显示 */
.job-card-reasons {
    margin-bottom: 1rem;
    padding: 1rem;
    background: linear-gradient(135deg, rgba(72, 187, 120, 0.05) 0%, rgba(56, 178, 172, 0.05) 100%);
    border-radius: 8px;
    border: 1px solid rgba(72, 187, 120, 0.2);
    position: relative;
}

.job-card-reasons::before {
    content: '🎯 匹配亮点';
    position: absolute;
    top: -10px;
    left: 12px;
    background: linear-gradient(135deg, #48bb78 0%, #38b2ac 100%);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}

.job-card-reasons .reason {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-primary);
    line-height: 1.4;
}

.job-card-reasons .reason::before {
    content: '✓';
    color: #48bb78;
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 2px;
}

.job-card-reasons .reason:last-child {
    margin-bottom: 0;
}

.job-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.job-tag {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    color: #667eea;
    padding: 0.3rem 0.6rem;
    border-radius: 16px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(102, 126, 234, 0.2);
    transition: all 0.2s ease;
}

.job-tag:hover {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.2) 0%, rgba(118, 75, 162, 0.2) 100%);
    transform: translateY(-1px);
}

.job-card-actions {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-light);
}

.job-card-actions .btn {
    flex: 1;
    padding: 0.6rem 1rem;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
}

.job-card-actions .btn i {
    font-size: 0.8rem;
}

.job-card-actions .btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    color: white;
}

.job-card-actions .btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.job-card-actions .btn-secondary {
    background: rgba(102, 126, 234, 0.1);
    border: 1px solid rgba(102, 126, 234, 0.3);
    color: #667eea;
}

.job-card-actions .btn-secondary:hover {
    background: rgba(102, 126, 234, 0.2);
    transform: translateY(-1px);
}

.job-card-actions .btn-outline {
    background: transparent;
    border: 1px solid var(--border-light);
    color: var(--text-secondary);
}

.job-card-actions .btn-outline:hover {
    background: var(--bg-hover);
    border-color: rgba(102, 126, 234, 0.3);
    color: #667eea;
    transform: translateY(-1px);
}

/* 按钮激活状态 */
.job-card-actions .btn.active {
    background: linear-gradient(135deg, #48bb78 0%, #38b2ac 100%) !important;
    border-color: #48bb78 !important;
    color: white !important;
}

.job-card-actions .btn.favorited {
    background: linear-gradient(135deg, #e53e3e 0%, #f56565 100%) !important;
    border-color: #e53e3e !important;
    color: white !important;
}

/* 空状态美化 */
.no-data {
    animation: fadeInUp 0.6s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 响应式优化 */
@media (max-width: 768px) {
    .job-cards-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .overview-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .stat-item {
        padding: 1.5rem 1rem;
    }
    
    .stat-content h4 {
        font-size: 1.8rem;
    }
    
    .job-card {
        padding: 1rem;
    }
    
    .job-card-actions {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .job-card-actions .btn {
        flex: none;
    }
}

/* 统计项数据加载动画 */
@keyframes countUp {
    from {
        transform: translateY(10px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.stat-content h4 {
    animation: countUp 0.6s ease forwards;
}

/* 结果筛选样式 */
.results-filters {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    padding: 1rem;
    background: var(--bg-secondary);
    border-radius: 8px;
    align-items: center;
    flex-wrap: wrap;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.filter-group label {
    color: var(--text-primary);
    font-weight: 500;
    font-size: 0.9rem;
    white-space: nowrap;
}

.filter-group select {
    padding: 0.5rem;
    border: 1px solid var(--border-light);
    border-radius: 4px;
    background: var(--bg-input);
    color: var(--text-primary);
    font-size: 0.9rem;
}

/* 技能分析报告 */
.skill-analysis-report {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-light);
}

.report-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.report-header h4 {
    color: var(--text-primary);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.report-header i {
    color: #667eea;
}

.report-content {
    background: var(--bg-secondary);
    border-radius: 8px;
    padding: 1.5rem;
    border: 1px solid var(--border-light);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .progress-steps {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .preference-grid {
        grid-template-columns: 1fr;
    }
    
    .traits-grid {
        grid-template-columns: 1fr;
    }
    
    .overview-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .results-filters {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }
    
    .profile-actions {
        flex-direction: column;
    }
    
    .skill-input-group {
        flex-direction: column;
        align-items: stretch;
    }
    
    .work-mode-options {
        gap: 0.5rem;
    }
}

/* ===========================================
   面试策略页面样式
   =========================================== */

.strategy-section {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.strategy-input {
    background: var(--bg-form);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-light);
}

.input-group {
    margin-bottom: 1.5rem;
}

.input-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-weight: 500;
}

.input-group select {
    width: 100%;
    max-width: 300px;
    padding: 0.8rem;
    border: 1px solid var(--border-light);
    border-radius: 6px;
    background: var(--bg-input) !important;
    color: var(--text-primary);
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.input-group select:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.strategy-output {
    background: var(--bg-form);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-light);
}

.strategy-tabs {
    display: flex;
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--border-light);
}

.strategy-tab {
    background: transparent;
    border: none;
    padding: 1rem 1.5rem;
    cursor: pointer;
    color: var(--text-secondary);
    font-size: 0.95rem;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.strategy-tab:hover {
    color: var(--text-primary);
}

.strategy-tab.active {
    color: #667eea;
    border-bottom-color: #667eea;
}

.strategy-tab-content {
    display: none;
}

.strategy-tab-content.active {
    display: block;
}

/* ===========================================
   AI助手页面样式
   =========================================== */

.chat-interface {
    background: var(--bg-form);
    border-radius: 12px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-light);
    overflow: hidden;
}

.chat-container {
    height: 600px;
    display: flex;
    flex-direction: column;
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 2rem;
    background: var(--bg-secondary);
}

.message {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.message-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #667eea;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.message-content {
    flex: 1;
    background: var(--bg-card);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.ai-message .message-content {
    background: rgba(102, 126, 234, 0.1);
    border: 1px solid rgba(102, 126, 234, 0.2);
}

.user-message {
    flex-direction: row-reverse;
}

.user-message .message-avatar {
    background: #764ba2;
}

.message-content p {
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    line-height: 1.6;
}

.message-content ul {
    margin: 0.5rem 0;
    padding-left: 1.5rem;
}

.message-content li {
    color: var(--text-secondary);
    margin-bottom: 0.3rem;
}

.chat-input-area {
    padding: 1.5rem 2rem;
    border-top: 1px solid var(--border-light);
    background: var(--bg-form);
}

.quick-questions {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.quick-question {
    background: rgba(102, 126, 234, 0.1);
    border: 1px solid rgba(102, 126, 234, 0.3);
    color: #667eea;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.quick-question:hover {
    background: rgba(102, 126, 234, 0.2);
    transform: translateY(-1px);
}

.chat-input-box {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.chat-input-box input {
    flex: 1;
    padding: 0.8rem 1rem;
    border: 1px solid var(--border-light);
    border-radius: 25px;
    background: var(--bg-input) !important;
    color: var(--text-primary);
    font-size: 0.95rem;
    outline: none;
    transition: all 0.3s ease;
}

.chat-input-box input:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

/* ===========================================
   响应式设计
   =========================================== */

@media (max-width: 1024px) {
    .feature-container {
        padding: 1.5rem;
    }
    
    .analysis-grid {
        grid-template-columns: 1fr;
    }
    
    .preference-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .tabs-container {
        padding: 0 1rem;
        overflow-x: auto;
    }
    
    .main-tab {
        padding: 0.8rem 1rem;
        font-size: 0.9rem;
        white-space: nowrap;
    }
    
    .main-tab span {
        display: none;
    }
    
    .feature-header h2 {
        font-size: 1.8rem;
    }
    
    .feature-container {
        padding: 1rem;
    }
    
    .chat-container {
        height: 500px;
    }
    
    .quick-questions {
        display: none;
    }
}

/* ===========================================
   自身分析模块样式
   =========================================== */

/* 分析方式选择器 */
.analysis-method-selector {
    margin-bottom: 2rem;
}

.method-tabs {
    display: flex;
    gap: 1rem;
    background: var(--bg-secondary);
    padding: 0.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 1.5rem;
}

.method-tab {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    padding: 1rem 1.5rem;
    border: none;
    background: transparent;
    color: var(--text-secondary);
    font-size: 1rem;
    font-weight: 500;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.method-tab:hover {
    background: rgba(102, 126, 234, 0.1);
    color: #667eea;
}

.method-tab.active {
    background: #667eea;
    color: white;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

.method-tab i {
    font-size: 1.2rem;
}

/* 分析方式内容区域 */
.analysis-method-content {
    display: none;
}

.analysis-method-content.active {
    display: block;
}

/* 上传区域样式 */
.upload-section {
    margin-bottom: 2rem;
}

.upload-card {
    background: var(--bg-form);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border: 2px dashed var(--border-light);
    transition: all 0.3s ease;
}

.upload-header {
    text-align: center;
    margin-bottom: 2rem;
}

.upload-header h3 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.upload-header p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.upload-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 200px;
    border: 2px dashed var(--border-light);
    border-radius: 8px;
    background: var(--bg-input) !important;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.upload-area:hover {
    border-color: #667eea;
    background: rgba(102, 126, 234, 0.03);
}

.upload-icon {
    font-size: 3rem;
    color: #667eea;
    margin-bottom: 1rem;
}

.upload-text {
    margin-bottom: 1.5rem;
}

.upload-title {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.upload-subtitle {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.upload-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    font-size: 0.95rem;
}

/* 上传进度 */
.upload-progress {
    text-align: center;
    padding: 1rem;
}

.upload-progress .progress-bar {
    width: 100%;
    height: 8px;
    background: var(--border-light);
    border-radius: 4px;
    overflow: hidden;
    margin: 1rem 0;
}

.upload-progress .progress {
    height: 100%;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 4px;
    transition: width 0.3s ease;
}

.progress-text {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* 手动填写表单样式 */
.manual-form-section {
    background: var(--bg-form);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border-light);
}

.manual-resume-form {
    max-width: 100%;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-group label i {
    color: #667eea;
    width: 16px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    background: var(--bg-input) !important;
    color: var(--text-primary);
    font-size: 0.95rem;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

/* 技能输入区域 */
.skills-input-area {
    border: 1px solid var(--border-light);
    border-radius: 8px;
    background: var(--bg-input) !important;
    padding: 1rem;
}

.skills-input-area input {
    border: none;
    background: transparent;
    padding: 0.5rem 0;
    margin-bottom: 0.5rem;
}

.skills-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    min-height: 30px;
}

.skill-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #667eea;
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.skill-tag i {
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.skill-tag i:hover {
    opacity: 1;
}

/* 表单操作按钮 */
.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-light);
}

/* 分析结果区域 */
.analysis-results-section {
    background: var(--bg-secondary);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-light);
}

.results-header h3 {
    color: var(--text-primary);
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* 技能分析结果 */
.skill-match-item {
    margin-bottom: 1rem;
    padding: 1rem;
    background: var(--bg-primary);
    border-radius: 8px;
    border-left: 4px solid #667eea;
}

.skill-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.skill-name {
    font-weight: 500;
    color: var(--text-primary);
}

.skill-score {
    font-weight: 600;
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
    font-size: 0.85rem;
}

.skill-score.excellent {
    background: #d4edda;
    color: #155724;
}

.skill-score.good {
    background: #fef3cd;
    color: #856404;
}

.skill-score.average {
    background: #f8d7da;
    color: #721c24;
}

.skill-match-bar {
    height: 8px;
    background: var(--border-light);
    border-radius: 4px;
    overflow: hidden;
}

.skill-match-progress {
    height: 100%;
    border-radius: 4px;
    transition: width 0.8s ease;
}

.skill-match-progress.excellent {
    background: linear-gradient(90deg, #28a745, #20c997);
    box-shadow: inset 0 0 6px rgba(32,201,151,0.35);
}

.skill-match-progress.good {
    background: linear-gradient(90deg, #ffc107, #fd7e14);
    box-shadow: inset 0 0 6px rgba(253,126,20,0.35);
}

.skill-match-progress.average {
    background: linear-gradient(90deg, #dc3545, #e83e8c);
    box-shadow: inset 0 0 6px rgba(232,62,140,0.35);
}

/* 推荐职位样式（全新现代化设计） */
.job-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 24px;
    padding: 16px 0;
}

.job-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 24px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    color: #2d3748 !important;
}

/* 强制设置job-card内所有元素的字体颜色 */
.job-card,
.job-card *:not(.job-badge):not(.job-match):not(.job-match *):not(.btn):not(.btn *) {
    color: #2d3748 !important;
}

.job-card .job-card-title h4 {
    color: #1a202c !important;
}

.job-card .job-card-company span {
    color: #2d3748 !important;
}

.job-card .job-card-meta span {
    color: #4a5568 !important;
}

.job-card .job-tag {
    color: #4a5568 !important;
}

.job-card .reason {
    color: #22543d !important;
}

.job-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.job-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border-color: #cbd5e0;
}

.job-card:hover::before {
    opacity: 1;
}

.job-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
    gap: 16px;
}

.job-card-title {
    flex: 1;
    min-width: 0;
}

.job-card-title h4 {
    margin: 0 0 8px 0;
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a202c;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.job-badge {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.job-match {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
    color: white;
    padding: 12px;
    border-radius: 12px;
    min-width: 70px;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(72, 187, 120, 0.3);
}

.job-match::after {
    content: '匹配度';
    font-size: 0.6rem;
    margin-top: 2px;
    opacity: 0.9;
    font-weight: 500;
}

.job-card-company {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    padding: 12px;
    background: rgba(102, 126, 234, 0.05);
    border-radius: 10px;
    border-left: 3px solid #667eea;
}

.job-logo {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
    object-fit: cover;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.875rem;
}

.job-card-company span {
    font-size: 1rem;
    font-weight: 600;
    color: #2d3748;
}

.job-card-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 12px;
    margin-bottom: 16px;
}

.job-card-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: #f7fafc;
    border-radius: 8px;
    font-size: 0.875rem;
    color: #4a5568;
    border: 1px solid #e2e8f0;
}

.job-card-meta i {
    color: #667eea;
    width: 14px;
    font-size: 0.875rem;
}

.job-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.job-tag {
    background: linear-gradient(135deg, #edf2f7 0%, #e2e8f0 100%);
    color: #4a5568;
    border: 1px solid #cbd5e0;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    transition: all 0.2s ease;
}

.job-tag:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    transform: scale(1.05);
}

.job-card-actions {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    padding-top: 16px;
    border-top: 1px solid #e2e8f0;
}

.job-card-actions .btn {
    flex: 1;
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    transition: all 0.2s ease;
    border: 1px solid;
    text-align: center;
    cursor: pointer;
}

.job-card-actions .btn-outline {
    background: transparent;
    border-color: #e2e8f0;
    color: #4a5568;
}

.job-card-actions .btn-outline:hover {
    background: #f7fafc;
    border-color: #cbd5e0;
    transform: translateY(-1px);
}

.job-card-actions .btn-secondary {
    background: linear-gradient(135deg, #a0aec0 0%, #718096 100%);
    border-color: #a0aec0;
    color: white;
}

.job-card-actions .btn-secondary:hover {
    background: linear-gradient(135deg, #718096 0%, #4a5568 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(113, 128, 150, 0.3);
}

.job-card-actions .btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: #667eea;
    color: white;
}

.job-card-actions .btn-primary:hover {
    background: linear-gradient(135deg, #5a67d8 0%, #6b46c1 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.job-card-actions .active {
    filter: saturate(1.2) brightness(0.95);
    box-shadow: 0 0 0 2px rgba(102, 126, 234, 0.2);
}

/* 推荐原因样式 */
.job-card-reasons {
    margin-bottom: 16px;
}

.job-card-reasons .reason {
    background: linear-gradient(135deg, #e6fffa 0%, #f0fff4 100%);
    border: 1px solid #9ae6b4;
    border-radius: 8px;
    padding: 10px 14px;
    margin-bottom: 8px;
    font-size: 0.875rem;
    color: #22543d;
    position: relative;
    font-weight: 500;
}

.job-card-reasons .reason::before {
    content: '✓';
    color: #38a169;
    font-weight: bold;
    margin-right: 8px;
}

/* 推荐职位卡片动画优化 */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.job-card {
    animation: slideInUp 0.6s ease-out forwards;
    opacity: 0;
}

.job-card[style*="animation-delay"] {
    animation-fill-mode: both;
}

/* 确保job-card内所有文本颜色正确 */
.job-card * {
    color: inherit;
}

.job-card h1, .job-card h2, .job-card h3, .job-card h4, .job-card h5, .job-card h6 {
    color: #1a202c !important;
}

.job-card p, .job-card span:not(.job-badge):not(.job-match span) {
    color: #4a5568 !important;
}

.job-card:nth-child(2) { animation-delay: 0.1s; }
.job-card:nth-child(3) { animation-delay: 0.2s; }
.job-card:nth-child(4) { animation-delay: 0.3s; }
.job-card:nth-child(5) { animation-delay: 0.4s; }
.job-card:nth-child(6) { animation-delay: 0.5s; }

/* 响应式设计 */
@media (max-width: 768px) {
    .job-cards-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 12px 0;
    }
    
    .job-card {
        padding: 20px;
    }
    
    .job-card-header {
        flex-direction: column;
        gap: 12px;
    }
    
    .job-match {
        align-self: flex-end;
        min-width: 60px;
        padding: 10px;
    }
    
    .job-card-meta {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    
    .job-card-actions {
        flex-direction: column;
        gap: 8px;
    }
    
    .job-card-actions .btn {
        padding: 12px 16px;
    }
}

@media (max-width: 480px) {
    .job-card {
        padding: 16px;
    }
    
    .job-card-title h4 {
        font-size: 1.125rem;
    }
    
    .job-card-company {
        padding: 10px;
        gap: 8px;
    }
    
    .job-logo {
        width: 28px;
        height: 28px;
    }
}

/* 旧样式兼容占位，保留但不再使用 */
.recommended-position-item { display:none; }
.position-header { display:none; }
.position-details { display:none; }
.match-score { display:none; }

/* 小图表容器 */
.mini-chart { position: relative; width: 100%; height: 220px; }

/* 雷达容器微调 */
#capabilityRadarContainer { min-height: 320px; }
#capabilityRadarContainer canvas { filter: drop-shadow(0 2px 6px rgba(0,0,0,0.08)); }

/* 技能建议样式 */
.suggestion-section {
    margin-bottom: 1.5rem;
}

.suggestion-section h4 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.strength-tags,
.missing-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.strength-tag {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.missing-skill-tag {
    background: linear-gradient(135deg, #dc3545, #e83e8c);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

/* 职业发展建议样式 */
.career-suggestion-item {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--bg-primary);
    border-radius: 8px;
    margin-bottom: 1rem;
    border-left: 4px solid #667eea;
}

.suggestion-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(102, 126, 234, 0.1);
    border-radius: 50%;
    color: #667eea;
}

.suggestion-content {
    flex: 1;
}

.suggestion-content p {
    margin: 0;
    color: var(--text-primary);
    line-height: 1.6;
}

/* 职位卡片选中状态 */
.job-card.selected {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1), 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    transform: translateY(-8px);
}

.job-card.selected::before {
    opacity: 1;
}

/* 无数据提示优化 */
.no-data {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    text-align: center;
    color: #718096;
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    border-radius: 16px;
    border: 2px dashed #e2e8f0;
}

.no-data i {
    font-size: 3rem;
    color: #cbd5e0;
    margin-bottom: 16px;
}

.no-data p {
    font-size: 1.125rem;
    font-weight: 600;
    margin: 0 0 8px 0;
    color: #4a5568;
}

.no-data small {
    font-size: 0.875rem;
    color: #718096;
    margin: 0;
}

/* 响应式设计 - 自身分析模块 */
@media (max-width: 768px) {
    .method-tabs {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .method-tab {
        justify-content: flex-start;
        padding: 1rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .form-actions {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .results-header {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
    
    .position-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .career-suggestion-item {
        flex-direction: column;
        text-align: center;
    }
    
    .suggestion-icon {
        align-self: center;
    }
} 

/* 图表展开按钮样式 */
.expand-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 8px 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 5px;
    box-shadow: 0 2px 4px rgba(102, 126, 234, 0.2);
}

.expand-btn:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.expand-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(102, 126, 234, 0.2);
}

.expand-btn i {
    font-size: 12px;
}

/* 放大按钮样式 */
.expand-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 2px 4px rgba(102, 126, 234, 0.2);
    transition: all 0.2s ease;
}

.expand-btn:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
    transform: translateY(-1px);
}

/* 深色主题适配 */
.dark-theme .expand-btn {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    box-shadow: 0 2px 4px rgba(52, 152, 219, 0.2);
}

.dark-theme .expand-btn:hover {
    background: linear-gradient(135deg, #2980b9 0%, #3498db 100%);
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
}

/* 图表控制按钮组样式增强 */
.chart-controls {
    gap: 8px;
    flex-wrap: wrap;
}

.chart-controls .btn {
    min-width: 36px;
    height: 36px;
    border-radius: 8px;
}

/* 添加动画效果 */
.chart-card {
    transition: all 0.3s ease;
}

.chart-container canvas {
    transition: all 0.3s ease;
}





/* 响应式图表网格 - 在原有基础上扩展 */

@media (max-width: 1200px) {
    .charts-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    .charts-grid {
        grid-template-columns: 1fr;
    }
    
    .chart-container {
        min-height: 250px;
        max-height: 400px;
    }
    
    .chart-modal-container {
        min-height: 300px;
        max-height: 60vh;
    }
}

/* ===== 对比模态 ===== */
.compare-modal-content { max-width: 1100px; width: 90vw; }
.compare-toolbar { display:flex; justify-content: space-between; align-items:center; margin-bottom: 10px; }
.compare-table-wrapper { overflow: auto; max-height: 70vh; }
.compare-table { width: 100%; border-collapse: collapse; }
.compare-table th, .compare-table td { border-bottom: 1px solid var(--border-color); padding: 8px 10px; text-align: left; vertical-align: top; }
.compare-table .row-label { width: 120px; color: var(--text-secondary); background: var(--panel-alt-bg); position: sticky; left: 0; z-index: 1; }
.compare-table td.diff { background: rgba(239, 68, 68, 0.08); }
.load-more-wrapper { display: flex; justify-content: center; margin-top: 12px; }

/* ===== 图表模态框样式增强 ===== */
.chart-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.chart-modal.show {
    display: flex;
    opacity: 1;
    align-items: center;
    justify-content: center;
}

.chart-modal-content {
    background: white;
    border-radius: 16px;
    width: 95%;
    max-width: 1800px;
    max-height: 95vh;
    height: 95vh;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    transform: scale(0.8) translateY(50px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    position: relative;
}

.chart-modal.show .chart-modal-content {
    transform: scale(1) translateY(0);
}

/* 全屏模式 */
.chart-modal.fullscreen {
    background-color: rgba(0, 0, 0, 0.95);
}

.chart-modal.fullscreen .chart-modal-content {
    width: 100vw;
    height: 100vh;
    max-width: 100vw;
    max-height: 100vh;
    border-radius: 0;
    min-height: 100vh;
}

.chart-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    border-bottom: 1px solid #e5e7eb;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 16px 16px 0 0;
    position: relative;
    z-index: 1;
}

.chart-modal.fullscreen .chart-modal-header {
    border-radius: 0;
}

.chart-modal-header h3 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}

.chart-modal-header-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.chart-modal-close,
.chart-modal-fullscreen,
.chart-modal-download {
    background: none;
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: relative;
}

.chart-modal-close:hover,
.chart-modal-fullscreen:hover,
.chart-modal-download:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.chart-modal-close:hover {
    transform: scale(1.1) rotate(90deg);
}

/* 工具提示 */
.chart-modal-header-controls button[title]::after {
    content: attr(title);
    position: absolute;
    bottom: -35px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
    z-index: 1000;
}

.chart-modal-header-controls button[title]:hover::after {
    opacity: 1;
}

.chart-modal-body {
    padding: 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: #fafbfc;
}

.chart-modal-toolbar {
    display: flex;
    gap: 20px;
    align-items: center;
    margin-bottom: 25px;
    flex-wrap: wrap;
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
}

.chart-modal-toolbar .toolbar-group {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 15px;
    border-right: 1px solid #e5e7eb;
}

.chart-modal-toolbar .toolbar-group:last-child {
    border-right: none;
}

.chart-modal-toolbar label {
    font-weight: 600;
    color: #374151;
    font-size: 0.95rem;
    white-space: nowrap;
}

.chart-modal-toolbar select {
    padding: 10px 14px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    background: white;
    font-size: 0.95rem;
    min-width: 140px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.chart-modal-toolbar select:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.chart-modal-toolbar .btn {
    padding: 10px 18px;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.chart-modal-toolbar .btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.chart-modal-toolbar .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.chart-modal-toolbar .btn-secondary {
    background: #f3f4f6;
    color: #374151;
    border: 1px solid #d1d5db;
}

.chart-modal-toolbar .btn-secondary:hover {
    background: #e5e7eb;
    transform: translateY(-1px);
}

.chart-modal-container {
    flex: 1;
    position: relative;
    background: white;
    border-radius: 12px;
    padding: 25px;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
    border: 1px solid #e5e7eb;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.chart-modal-container canvas {
    max-width: 100% !important;
    max-height: 100% !important;
    width: auto !important;
    height: auto !important;
}

/* 图表尺寸控制 */
.chart-size-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.size-preset-btn {
    padding: 6px 12px;
    border: 1px solid #d1d5db;
    background: white;
    border-radius: 6px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.2s;
}

.size-preset-btn:hover,
.size-preset-btn.active {
    background: #667eea;
    color: white;
    border-color: #667eea;
}

/* 数据表格视图 */
.chart-data-toggle {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 10;
}

.chart-data-table {
    display: none;
    width: 100%;
    height: 100%;
    overflow: auto;
    background: white;
    border-radius: 8px;
}

.chart-data-table.show {
    display: block;
}

.chart-data-table table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.chart-data-table th,
.chart-data-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #e5e7eb;
}

.chart-data-table th {
    background: #f9fafb;
    font-weight: 600;
}

/* ===== 新增的两栏布局样式 ===== */
.chart-modal-content-wrapper {
    flex: 1;
    display: flex;
    overflow: hidden;
    min-height: 0;
}

.chart-modal-left-panel {
    flex: 0 0 auto;
    width: 100%;
    display: flex;
    flex-direction: column;
    overflow: auto;
    min-width: 300px;
    transition: width 0.3s ease;
}

/* 当AI面板显示时调整左栏宽度 */
.chart-modal-content-wrapper:has(.chart-modal-right-panel.show) .chart-modal-left-panel {
    width: calc(100% - 400px);
}

.chart-modal-right-panel {
    flex: 0 0 auto;
    width: 400px;
    min-width: 300px;
    max-width: 70%;
    background: #f8fafc;
    border-left: 1px solid #e2e8f0;
    display: none;
    flex-direction: column;
    overflow: hidden;
    transition: width 0.3s ease;
}

.chart-modal-right-panel.show {
    display: flex;
}

/* ===== AI聊天面板样式 ===== */
.ai-chat-panel {
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

/* 移除表头样式 */
.ai-chat-header {
    display: none;
}

/* 新的关闭按钮样式 */
.ai-chat-close-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 10;
    background: rgba(100, 116, 139, 0.1);
    color: #64748b;
    border: none;
    width: 28px;
    height: 28px;
    border-radius: 4px;
    transition: all 0.2s;
    font-size: 12px;
}

.ai-chat-close-btn:hover {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    transform: scale(1.05);
}

.ai-chat-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding-top: 40px; /* 为关闭按钮留出空间 */
}

.ai-chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
    scroll-behavior: smooth;
}

.ai-chat-welcome {
    text-align: center;
    padding: 16px;
    color: #64748b;
}

.welcome-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    color: white;
    font-size: 18px;
}

.ai-chat-welcome .welcome-text {
    margin: 0 0 12px;
    line-height: 1.4;
    font-size: 0.9rem;
    font-size: 0.9rem;
}

.welcome-suggestions {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.welcome-suggestions li {
    padding: 8px 12px;
    margin: 6px 0;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s;
}

.welcome-suggestions li:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
    transform: translateX(4px);
}

.ai-chat-message {
    margin-bottom: 16px;
    display: flex;
    flex-direction: column;
}

.ai-chat-message.user {
    align-items: flex-end;
}

.ai-chat-message.ai {
    align-items: flex-start;
}

.ai-message-content {
    max-width: 85%;
    padding: 12px 16px;
    border-radius: 16px;
    line-height: 1.5;
    font-size: 0.9rem;
    word-wrap: break-word;
}

.ai-chat-message.user .ai-message-content {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-bottom-right-radius: 4px;
}

.ai-chat-message.ai .ai-message-content {
    background: white;
    color: #334155;
    border: 1px solid #e2e8f0;
    border-bottom-left-radius: 4px;
}

.ai-message-time {
    font-size: 0.75rem;
    color: #94a3b8;
    margin-top: 4px;
    padding: 0 4px;
}

.ai-chat-input-area {
    padding: 16px 20px 20px;
    border-top: 1px solid #e2e8f0;
    background: white;
}

.ai-chat-input-wrapper {
    display: flex;
    gap: 8px;
    margin-bottom: 10px;
}

.ai-chat-input {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid #d1d5db;
    border-radius: 12px;
    font-size: 0.9rem;
    outline: none;
    transition: all 0.2s;
}

.ai-chat-input:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.ai-chat-send {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    color: white;
    cursor: pointer;
    transition: all 0.2s;
}

.ai-chat-send:hover:not(:disabled) {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.ai-chat-send:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.ai-chat-status {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    color: #64748b;
}

.ai-status-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    color: #10b981;
}

.ai-status-indicator.connecting {
    color: #f59e0b;
    animation: pulse 1.5s infinite;
}

.ai-status-indicator.error {
    color: #ef4444;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* ===== 响应式设计 ===== */
@media (max-width: 1200px) {
    .chart-modal-right-panel {
        width: 350px;
        min-width: 350px;
    }
}

@media (max-width: 768px) {
    .chart-modal-content {
        width: 98%;
        height: 98vh;
        max-height: 98vh;
    }
    
    .chart-modal-content-wrapper {
        flex-direction: column;
    }
    
    .chart-modal-right-panel {
        width: 100%;
        min-width: 100%;
        max-width: 100%;
        height: 50%;
        border-left: none;
        border-top: 1px solid #e2e8f0;
    }
    
    .chart-modal-left-panel {
        height: 50%;
    }
}

/* ===== 加载状态样式 ===== */
.ai-message-loading {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    border-bottom-left-radius: 4px;
    max-width: 85%;
    color: #64748b;
    font-size: 0.9rem;
}

.ai-loading-dots {
    display: flex;
    gap: 4px;
}

.ai-loading-dots span {
    width: 6px;
    height: 6px;
    background: #cbd5e1;
    border-radius: 50%;
    animation: loading-bounce 1.4s infinite ease-in-out both;
}

.ai-loading-dots span:nth-child(1) { animation-delay: -0.32s; }
.ai-loading-dots span:nth-child(2) { animation-delay: -0.16s; }

@keyframes loading-bounce {
    0%, 80%, 100% {
        transform: scale(0);
    }
    40% {
        transform: scale(1);
    }
}

/* ===== 滚动条样式 ===== */
.ai-chat-messages::-webkit-scrollbar,
.chart-modal-left-panel::-webkit-scrollbar {
    width: 6px;
}

.ai-chat-messages::-webkit-scrollbar-track,
.chart-modal-left-panel::-webkit-scrollbar-track {
    background: #f1f5f9;
}

.ai-chat-messages::-webkit-scrollbar-thumb,
.chart-modal-left-panel::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 3px;
}

.ai-chat-messages::-webkit-scrollbar-thumb:hover,
.chart-modal-left-panel::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* 深色主题适配 */
.dark-theme .chart-modal-content {
    background: #1f2937;
    color: #f9fafb;
}

.dark-theme .chart-modal-header {
    border-bottom-color: #374151;
}

.dark-theme .chart-modal-body {
    background: #111827;
}

.dark-theme .chart-modal-toolbar {
    background: #1f2937;
    border-color: #374151;
}

.dark-theme .chart-modal-toolbar .toolbar-group {
    border-color: #374151;
}

.dark-theme .chart-modal-toolbar label {
    color: #d1d5db;
}

.dark-theme .chart-modal-toolbar select {
    background: #374151;
    border-color: #4b5563;
    color: #f9fafb;
}

.dark-theme .chart-modal-container {
    background: #1f2937;
    border-color: #374151;
}

.dark-theme .chart-data-table {
    background: #1f2937;
}

.dark-theme .chart-data-table th {
    background: #374151;
    color: #d1d5db;
}

/* 响应式设计增强 */
@media (max-width: 1024px) {
    .chart-modal-content {
        width: 95%;
        min-height: 600px;
    }
    
    .chart-modal-toolbar {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }
    
    .chart-modal-toolbar .toolbar-group {
        border-right: none;
        border-bottom: 1px solid #e5e7eb;
        padding: 10px 0;
    }
    
    .chart-modal-toolbar .toolbar-group:last-child {
        border-bottom: none;
    }
}

@media (max-width: 768px) {
    .chart-modal-content {
        width: 100%;
        height: 100vh;
        max-height: 100vh;
        border-radius: 0;
        min-height: 100vh;
    }
    
    .chart-modal-header {
        padding: 15px 20px;
        border-radius: 0;
    }
    
    .chart-modal-header h3 {
        font-size: 1.2rem;
    }
    
    .chart-modal-body {
        padding: 20px;
    }
    
    .chart-modal-container {
        min-height: 300px;
        padding: 15px;
    }
    
    .chart-modal-toolbar {
        padding: 15px;
        margin-bottom: 15px;
    }
    
    .chart-modal-toolbar .toolbar-group {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }
    
    .chart-modal-toolbar select {
        min-width: auto;
    }
}

/* 动画效果增强 */
@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: scale(0.8) translateY(60px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes modalSlideOut {
    from {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
    to {
        opacity: 0;
        transform: scale(0.8) translateY(60px);
    }
}

.chart-modal.show .chart-modal-content {
    animation: modalSlideIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.chart-modal.closing .chart-modal-content {
    animation: modalSlideOut 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 加载状态 */
.chart-modal-loading {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    border-radius: 12px;
}

.chart-modal-loading .loading-spinner {
    text-align: center;
}

.chart-modal-loading .loading-spinner i {
    font-size: 2rem;
    color: #667eea;
    margin-bottom: 10px;
}

.chart-modal-loading .loading-spinner p {
    margin: 0;
    color: #6b7280;
    font-size: 0.9rem;
}

.dark-theme .chart-modal-loading {
    background: rgba(31, 41, 55, 0.9);
}

.dark-theme .chart-modal-loading .loading-spinner p {
    color: #d1d5db;
}

/* 帮助模态框样式 */
.help-modal {
    display: none;
    position: fixed;
    z-index: 10001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    opacity: 0;
    transition: all 0.3s ease;
}

.help-modal.show {
    display: flex;
    opacity: 1;
    align-items: center;
    justify-content: center;
}

.help-modal-content {
    background: white;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    max-height: 80vh;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    transform: scale(0.9) translateY(20px);
    transition: all 0.3s ease;
    overflow: hidden;
}

.help-modal.show .help-modal-content {
    transform: scale(1) translateY(0);
}

.help-modal-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.help-modal-header h3 {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.help-modal-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.help-modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.help-modal-body {
    padding: 25px;
    max-height: 60vh;
    overflow-y: auto;
}

.help-section {
    margin-bottom: 25px;
}

.help-section:last-child {
    margin-bottom: 0;
}

.help-section h4 {
    margin: 0 0 15px 0;
    color: #374151;
    font-size: 1.1rem;
    font-weight: 600;
    padding-bottom: 8px;
    border-bottom: 2px solid #e5e7eb;
}

.help-shortcuts {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.shortcut-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
}

.shortcut-item kbd {
    background: #374151;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.8rem;
    font-weight: bold;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin: 0 2px;
}

.shortcut-item span {
    color: #6b7280;
    font-size: 0.9rem;
}

/* 深色主题适配 */
.dark-theme .help-modal-content {
    background: #1f2937;
    color: #f9fafb;
}

.dark-theme .help-section h4 {
    color: #d1d5db;
    border-bottom-color: #374151;
}

.dark-theme .shortcut-item {
    background: #374151;
    border-color: #4b5563;
}

.dark-theme .shortcut-item kbd {
    background: #111827;
    color: #f9fafb;
}

.dark-theme .shortcut-item span {
    color: #d1d5db;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .help-modal-content {
        width: 95%;
        max-height: 90vh;
    }
    
    .help-modal-header {
        padding: 15px 20px;
    }
    
    .help-modal-header h3 {
        font-size: 1.1rem;
    }
    
    .help-modal-body {
        padding: 20px;
    }
    
    .shortcut-item {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
        text-align: center;
    }
}

/* ===== 可拖拽分割条样式 ===== */
.chart-modal-splitter {
    width: 5px;
    background: #e2e8f0;
    cursor: col-resize;
    position: relative;
    flex-shrink: 0;
    transition: all 0.2s ease;
    border-radius: 3px;
    margin: 0 2px;
}

.chart-modal-splitter:hover {
    background: #cbd5e1;
    width: 6px;
}

.chart-modal-splitter.dragging {
    background: #667eea;
    width: 6px;
    box-shadow: 0 0 8px rgba(102, 126, 234, 0.3);
}

.splitter-handle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    opacity: 0;
    transition: all 0.2s ease;
    color: #64748b;
    font-size: 12px;
    pointer-events: none;
}

.chart-modal-splitter:hover .splitter-handle {
    opacity: 1;
}

.chart-modal-splitter.dragging .splitter-handle {
    opacity: 1;
    background: #667eea;
    color: white;
    border-color: #667eea;
}

/* 用户选择禁用 - 拖拽时避免文字被选中 */
.chart-modal-splitter.dragging,
.chart-modal-splitter.dragging * {
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

/* 拖拽时的全局样式 */
body.splitter-dragging {
    cursor: col-resize !important;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

body.splitter-dragging * {
    pointer-events: none;
}

body.splitter-dragging .chart-modal-splitter {
    pointer-events: auto;
}

/* 深色主题适配 */
.dark-theme .chart-modal-splitter {
    background: #374151;
}

.dark-theme .chart-modal-splitter:hover {
    background: #4b5563;
}

.dark-theme .chart-modal-splitter.dragging {
    background: #3b82f6;
}

.dark-theme .splitter-handle {
    background: #1f2937;
    border-color: #374151;
    color: #9ca3af;
}

.dark-theme .chart-modal-splitter.dragging .splitter-handle {
    background: #3b82f6;
    color: white;
    border-color: #3b82f6;
}

/* 响应式设计 - 移动端隐藏分割条 */
@media (max-width: 768px) {
    .chart-modal-splitter {
        display: none;
    }
}

/* ===== 岗位详情模态框样式 ===== */
.job-detail-modal {
    position: fixed;
    z-index: 10001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.job-detail-modal.show {
    opacity: 1;
}

.job-detail-modal-content {
    background: white;
    border-radius: 16px;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    transform: scale(0.8) translateY(50px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.job-detail-modal.show .job-detail-modal-content {
    transform: scale(1) translateY(0);
}

.job-detail-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 30px;
    border-bottom: 1px solid #e5e7eb;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 16px 16px 0 0;
}

.job-detail-modal-header h3 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}

.job-detail-modal-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.3rem;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.job-detail-modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1) rotate(90deg);
}

.job-detail-modal-body {
    padding: 30px;
    flex: 1;
    overflow-y: auto;
    max-height: calc(90vh - 100px);
    background: #fafbfc;
}

.job-detail-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    color: #6b7280;
}

.job-detail-loading i {
    font-size: 2.5rem;
    color: #667eea;
    margin-bottom: 16px;
}

.job-detail-loading p {
    margin: 0;
    font-size: 1rem;
    font-weight: 500;
}

/* 岗位详情内容样式 */
.job-detail-content {
    background: white;
    border-radius: 12px;
    padding: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border: 1px solid #e5e7eb;
    overflow: hidden;
}

.job-detail-header {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 30px;
    border-bottom: 1px solid #e5e7eb;
}

.job-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 8px 0;
    line-height: 1.3;
}

.job-company {
    font-size: 1.2rem;
    font-weight: 600;
    color: #667eea;
    margin: 0 0 16px 0;
}

/* 新增：操作栏 */
.job-detail-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 10px 0 16px 0;
}
.job-detail-actions .left,
.job-detail-actions .right {
    display: flex;
    align-items: center;
    gap: 10px;
}
.icon-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
    background: #ffffff;
    color: #374151;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.9rem;
}
.icon-btn i { color: #667eea; }
.icon-btn:hover { box-shadow: 0 6px 16px rgba(0,0,0,0.08); transform: translateY(-1px); }

.job-meta-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.job-meta-item { display: flex; align-items: center; gap: 10px; padding: 12px 16px; background: white; border-radius: 8px; border: 1px solid #e5e7eb; }
.job-meta-item i { font-size: 1rem; color: #667eea; width: 20px; text-align: center; }
.job-meta-item span { font-weight: 500; color: #374151; font-size: 0.95rem; }

.job-detail-body { padding: 30px; }

.job-section { margin-bottom: 24px; }
.job-section:last-child { margin-bottom: 0; }

.job-section-title { font-size: 1.1rem; font-weight: 700; color: #1f2937; margin: 0; display: flex; align-items: center; gap: 10px; padding-bottom: 8px; border-bottom: 2px solid #e5e7eb; }
.job-section-title i { color: #667eea; }

/* 新增：details/summary 美化 */
details.job-section { background: #fff; border: 1px solid #e5e7eb; border-radius: 10px; padding: 12px 16px; }
details.job-section[open] { box-shadow: 0 4px 12px rgba(0,0,0,0.04); }
details.job-section > summary.job-section-title { list-style: none; cursor: pointer; border-bottom: none; padding: 4px 0; }
details.job-section > summary.job-section-title::-webkit-details-marker { display: none; }
details.job-section > summary.job-section-title::after { content: '\25BC'; margin-left: auto; font-size: 0.8rem; color: #9ca3af; transition: transform 0.2s ease; }
details.job-section[open] > summary.job-section-title::after { transform: rotate(180deg); }

.job-description { font-size: 1rem; line-height: 1.7; color: #374151; margin: 10px 0 0 0; white-space: pre-wrap; }

.job-skills-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.job-skill-tag { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); color: white; padding: 8px 16px; border-radius: 20px; font-size: 0.9rem; transition: all 0.2s ease; }
.job-skill-tag:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3); }

.job-info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
.job-info-item { background: #f8fafc; padding: 20px; border-radius: 10px; border: 1px solid #e5e7eb; }
.job-info-label { font-weight: 600; color: #6b7280; font-size: 0.9rem; margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.5px; }
.job-info-value { font-size: 1.1rem; font-weight: 600; color: #1f2937; }
.job-info-value.salary { color: #059669; font-size: 1.2rem; }
.job-info-value.remote-yes { color: #059669; }
.job-info-value.remote-no { color: #dc2626; }

.job-benefits { display: flex; flex-wrap: wrap; gap: 12px; }
.job-benefit-tag { background: #ecfdf5; color: #065f46; padding: 8px 16px; border-radius: 16px; font-size: 0.9rem; font-weight: 500; border: 1px solid #a7f3d0; display: flex; align-items: center; gap: 6px; }
.job-benefit-tag i { color: #059669; }

/* 响应式设计 */
@media (max-width: 768px) {
    .job-detail-modal-content { width: 95%; max-width: 95%; margin: 20px; }
    .job-detail-modal-header { padding: 20px; }
    .job-detail-modal-header h3 { font-size: 1.3rem; }
    .job-detail-modal-body { padding: 20px; }
    .job-detail-header { padding: 20px; }
    .job-title { font-size: 1.5rem; }
    .job-company { font-size: 1.1rem; }
    .job-meta-grid { grid-template-columns: 1fr; gap: 12px; }
    .job-detail-body { padding: 20px; }
    .job-info-grid { grid-template-columns: 1fr; gap: 16px; }
    .job-skills-grid { gap: 6px; }
    .job-skill-tag { padding: 6px 12px; font-size: 0.85rem; }
}

/* AI分析模块样式 */
.ai-analysis-section {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border: 2px solid #0ea5e9;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 30px;
}

.ai-analysis-section .job-section-title {
    color: #0369a1;
    font-size: 1.3rem;
    margin-bottom: 20px;
}

.ai-analysis-section .job-section-title i {
    color: #0ea5e9;
    font-size: 1.2rem;
}

.ai-module {
    background: #ffffff;
    border: 1px solid #e0f2fe;
    border-radius: 10px;
    margin-bottom: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.ai-module:hover {
    box-shadow: 0 4px 20px rgba(14, 165, 233, 0.15);
    transform: translateY(-2px);
}

.ai-module:last-child {
    margin-bottom: 0;
}

.ai-module-header {
    background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
    color: white;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.ai-module-header i {
    font-size: 1.1rem;
}

.ai-module-header h4 {
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
    flex: 1;
}

.ai-module-content {
    padding: 20px;
}

.ai-insight {
    background: #f0f9ff;
    border-left: 4px solid #0ea5e9;
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 0 8px 8px 0;
}

.ai-insight p {
    margin: 0;
    line-height: 1.6;
    color: #0f172a;
}

.ai-suggestion {
    background: #ecfdf5;
    border-left: 4px solid #10b981;
    padding: 15px;
    margin-top: 15px;
    border-radius: 0 8px 8px 0;
    font-weight: 500;
    color: #065f46;
}

/* 分数和等级标签 */
.match-score, .salary-level, .work-mode-score, .career-potential, .success-rate {
    padding: 6px 12px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-left: auto;
}

.match-score.high, .work-mode-score.high, .success-rate.high {
    background: #dcfce7;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.match-score.medium, .work-mode-score.medium, .success-rate.medium {
    background: #fef3c7;
    color: #92400e;
    border: 1px solid #fde68a;
}

.match-score.low, .work-mode-score.low, .success-rate.low {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.salary-level.high {
    background: #dcfce7;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.salary-level.good {
    background: #dbeafe;
    color: #1e40af;
    border: 1px solid #bfdbfe;
}

.salary-level.medium {
    background: #fef3c7;
    color: #92400e;
    border: 1px solid #fde68a;
}

.salary-level.low, .salary-level.unknown {
    background: #f3f4f6;
    color: #374151;
    border: 1px solid #d1d5db;
}

.career-potential.high {
    background: #dcfce7;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.career-potential.good {
    background: #dbeafe;
    color: #1e40af;
    border: 1px solid #bfdbfe;
}

.career-potential.medium {
    background: #fef3c7;
    color: #92400e;
    border: 1px solid #fde68a;
}

.career-potential.low {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

/* 技能分解 */
.skill-breakdown {
    margin: 15px 0;
}

.skill-category {
    margin-bottom: 12px;
}

.category-label {
    font-weight: 600;
    color: #374151;
    margin-bottom: 8px;
    display: block;
    font-size: 0.95rem;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.skill-tag {
    padding: 6px 12px;
    border-radius: 16px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.skill-tag.matched {
    background: #dcfce7;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.skill-tag.missing {
    background: #fef3c7;
    color: #92400e;
    border: 1px solid #fde68a;
}

.skill-tag:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* 工作模式详情 */
.work-mode-details {
    margin: 15px 0;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    color: #374151;
}

.feature-item.positive {
    color: #166534;
}

.feature-item.neutral {
    color: #6b7280;
}

.feature-item i {
    width: 16px;
    text-align: center;
}

/* 职业发展因子 */
.career-factors {
    margin: 15px 0;
}

.factor-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    color: #374151;
}

.factor-item i {
    color: #0ea5e9;
    width: 16px;
    text-align: center;
}

/* 成功因子网格 */
.success-factors {
    margin: 15px 0;
}

.factors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
}

.factor-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 12px;
    text-align: center;
    transition: all 0.2s ease;
}

.factor-card.positive {
    background: #f0fdf4;
    border-color: #bbf7d0;
}

.factor-card.negative {
    background: #fef2f2;
    border-color: #fecaca;
}

.factor-card:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.factor-card i {
    font-size: 1.2rem;
    margin-bottom: 6px;
    display: block;
}

.factor-card.positive i {
    color: #16a34a;
}

.factor-card.negative i {
    color: #dc2626;
}

.factor-card span {
    font-weight: 500;
    color: #374151;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 4px;
}

.factor-impact {
    font-size: 0.8rem;
    font-weight: 600;
    color: #6b7280;
}

/* 深色主题适配 */
.dark-theme .job-detail-modal-content { background: #1f2937; color: #f9fafb; }
.dark-theme .job-detail-modal-header { border-bottom-color: #374151; }
.dark-theme .job-detail-modal-body { background: #111827; }
.dark-theme .job-detail-content { background: #1f2937; border-color: #374151; }
.dark-theme .job-detail-header { background: linear-gradient(135deg, #374151 0%, #4b5563 100%); }
.dark-theme .job-title { color: #f9fafb; }
.dark-theme .job-company { color: #a5b4fc; }
.dark-theme .job-meta-item { background: #374151; border-color: #4b5563; }
.dark-theme .job-meta-item span { color: #d1d5db; }
.dark-theme .job-section-title { color: #f9fafb; border-bottom-color: #374151; }
.dark-theme .job-description { color: #d1d5db; }
.dark-theme details.job-section { background: #1f2937; border-color: #374151; }

/* 深色主题 AI分析模块 */
.dark-theme .ai-analysis-section {
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
    border-color: #3b82f6;
}

.dark-theme .ai-analysis-section .job-section-title {
    color: #dbeafe;
}

.dark-theme .ai-module {
    background: #1f2937;
    border-color: #374151;
}

.dark-theme .ai-module-header {
    background: linear-gradient(135deg, #1e40af 0%, #1d4ed8 100%);
}

.dark-theme .ai-insight {
    background: #1e3a8a;
    border-left-color: #3b82f6;
}

.dark-theme .ai-insight p {
    color: #e0e7ff;
}

.dark-theme .ai-suggestion {
    background: #14532d;
    border-left-color: #22c55e;
    color: #bbf7d0;
}

.dark-theme .category-label,
.dark-theme .feature-item,
.dark-theme .factor-item {
    color: #d1d5db;
}

.dark-theme .feature-item.positive {
    color: #86efac;
}

.dark-theme .factor-card {
    background: #374151;
    border-color: #4b5563;
}

.dark-theme .factor-card.positive {
    background: #14532d;
    border-color: #22c55e;
}

.dark-theme .factor-card.negative {
    background: #7f1d1d;
    border-color: #ef4444;
}

.dark-theme .factor-card span {
    color: #d1d5db;
}

/* 加载状态样式 */
.loading-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem 2rem;
    color: #667eea;
}

.loading-container i {
    font-size: 2rem;
    margin-bottom: 1rem;
    animation: spin 1s linear infinite;
}

.loading-container p {
    margin: 0;
    font-size: 1rem;
    color: #6b7280;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.dark-theme .loading-container p {
    color: #9ca3af;
}
.dark-theme .job-info-item { background: #374151; border-color: #4b5563; }
.dark-theme .job-info-label { color: #9ca3af; }
.dark-theme .job-info-value { color: #f9fafb; }

/* 表格标题单元更友好换行与副标题 */
.job-title-cell {
    display: block;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.35;
    word-break: break-word;
    white-space: normal;
}
.job-title-sub {
    font-size: 0.82em;
    color: var(--text-secondary);
    margin-top: 4px;
    line-height: 1.4;
    word-break: break-word;
    white-space: normal;
}

/* 胶囊徽章样式：远程/现场 与 日程类型 */
.job-badges { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.remote-badge,
.schedule-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid transparent;
    transition: all 0.2s ease;
}
.remote-badge i,
.schedule-badge i { font-size: 0.9rem; }
.remote-badge:hover,
.schedule-badge:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(0,0,0,0.08); }

/* 远程状态配色 */
.remote-badge.remote-yes { background: #ecfdf5; color: #065f46; border-color: #a7f3d0; }
.remote-badge.remote-no { background: #f3f4f6; color: #374151; border-color: #e5e7eb; }
.remote-badge.remote-yes i { color: #059669; }
.remote-badge.remote-no i { color: #6b7280; }

/* 日程类型徽章 */
.schedule-badge { background: #eef2ff; color: #3730a3; border-color: #c7d2fe; }
.schedule-badge i { color: #6366f1; }

/* 详情页标题允许换行 */
.job-title { word-break: break-word; white-space: normal; }

/* 暗色主题适配徽章 */
.dark-theme .remote-badge.remote-yes { background: rgba(16,185,129,0.15); color: #a7f3d0; border-color: rgba(16,185,129,0.35); }
.dark-theme .remote-badge.remote-no { background: #374151; color: #e5e7eb; border-color: #4b5563; }
.dark-theme .remote-badge i { color: #a5b4fc; }
.dark-theme .schedule-badge { background: rgba(99,102,241,0.15); color: #c7d2fe; border-color: rgba(99,102,241,0.35); }

/* 覆盖早先JS注入的朴素远程样式（保证优先级）*/
.remote-badge { padding: 6px 10px !important; border-radius: 999px !important; font-size: 0.85rem !important; font-weight: 600 !important; }

/* 表格"远程"列紧凑显示，不影响详情页 */
.remote-col { text-align: center; vertical-align: middle; }
.remote-col .remote-badge.compact {
    padding: 4px 8px !important;
    font-size: 0.78rem !important;
    border-radius: 999px;
    line-height: 1;
}
.remote-col .remote-badge.compact i { font-size: 0.85rem; }
.remote-col .remote-badge.compact.remote-no { background: #f3f4f6; color: #4b5563; border-color: #e5e7eb; }
.remote-col .remote-badge.compact.remote-yes { background: #e6fef3; color: #047857; border-color: #a7f3d0; }

/* 表格行高度与徽章对齐的小优化 */
#jobsTableBody tr td { vertical-align: middle; }

/* 能力雷达图容器 */
#capabilityRadarContainer {
    position: relative;
    width: 100%;
    min-height: 300px;
    padding: 8px 10px 2px 10px;
}

#capabilityRadarContainer canvas {
    width: 100% !important;
    height: 100% !important;
    filter: drop-shadow(0 2px 6px rgba(0,0,0,0.08));
}

/* 竞争力指标进度条美化 */
.competitiveness-metrics .metric-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 12px 0;
}

.competitiveness-metrics .metric-info {
    flex: 0 0 120px;
    color: var(--text-secondary);
    font-weight: 500;
}

.competitiveness-metrics .metric-bar {
    flex: 1;
    height: 10px;
    background: linear-gradient(90deg, #eef2ff 0%, #f8fafc 100%);
    border-radius: 999px;
    overflow: hidden;
}

.competitiveness-metrics .metric-progress {
    height: 100%;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    border-radius: 999px;
    transition: width 0.6s ease;
}

.competitiveness-metrics .metric-score {
    flex: 0 0 70px;
    text-align: right;
    color: var(--text-primary);
    font-weight: 600;
}

/* 卡片外观微调 */
.analysis-card .card-header h3 i {
    color: #667eea;
}

.analysis-card .card-header h3 {
    display: flex;
    align-items: center;
    gap: 8px;
}

.analysis-card .card-content {
    padding-top: 10px;
}

/* 固定自身分析卡片尺寸与滚动条 */
.analysis-card {
	display: flex;
	flex-direction: column;
	height: 480px;
}

.analysis-card.full-width {
	height: 480px;
}

.analysis-card .card-content {
	flex: 1;
	overflow: auto;
}

/* 卡片内容滚动条样式 */
.analysis-card .card-content::-webkit-scrollbar { width: 8px; }
.analysis-card .card-content::-webkit-scrollbar-track { background: #f1f5f9; }
.analysis-card .card-content::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 4px; }
.analysis-card .card-content::-webkit-scrollbar-thumb:hover { background: #94a3b8; }

/* 雷达容器填满卡片 */
#capabilityRadarContainer { height: 100%; min-height: 0; }
#capabilityRadarContainer canvas { height: 100% !important; }

/* 新增：AI 分析样式 */
.job-ai-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; margin: 10px 0 6px 0; }
.kpi-card { display: flex; align-items: center; gap: 10px; background: #f8fafc; border: 1px solid #e5e7eb; border-radius: 10px; padding: 12px; }
.kpi-icon { width: 36px; height: 36px; border-radius: 8px; display: flex; align-items: center; justify-content: center; background: #eef2ff; color: #667eea; }
.kpi-value { font-size: 1.2rem; font-weight: 700; color: #111827; }
.kpi-label { font-size: 0.85rem; color: #6b7280; }

.job-subtitle { margin: 14px 0 8px 0; font-weight: 700; color: #1f2937; }
.job-tips-list { margin: 0; padding-left: 1.2em; display: grid; gap: 8px; }
.job-tips-list li { display: flex; align-items: flex-start; gap: 8px; background: #ffffff; border: 1px solid #e5e7eb; border-radius: 8px; padding: 10px 12px; list-style: none; }
.job-tips-list li i { color: #f59e0b; margin-top: 2px; }
.job-tips-list li span { color: #374151; }

 .job-ai-match .progress-line { position: relative; background: #eef2ff; border: 1px solid #e5e7eb; height: 10px; border-radius: 6px; overflow: hidden; margin: 6px 0 12px 0; }
 .job-ai-match .progress-line .progress-bar { position: absolute; left: 0; top: 0; bottom: 0; background: linear-gradient(90deg, #667eea, #764ba2); }
 .job-ai-match .progress-text { margin-top: 6px; font-size: 0.9rem; color: #4b5563; font-weight: 600; }

.job-skill-weights { display: grid; grid-template-columns: 1fr; gap: 8px; margin-top: 8px; }
.skill-weight-item { display: grid; grid-template-columns: 120px 1fr 60px; align-items: center; gap: 8px; }
.skill-weight-item .label { font-weight: 600; color: #374151; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.skill-weight-item .bar { background: #f3f4f6; border: 1px solid #e5e7eb; border-radius: 999px; height: 8px; position: relative; overflow: hidden; }
.skill-weight-item .bar i { position: absolute; left: 0; top: 0; bottom: 0; background: linear-gradient(90deg, #34d399, #10b981); border-radius: 999px; }
.skill-weight-item .val { text-align: right; color: #111827; font-weight: 700; }

/* 推荐原因列表优化 */
.job-reasons-list { margin: 6px 0 0 0; padding: 0; display: grid; gap: 8px; }
.job-reasons-list li { background: #ffffff; border: 1px solid #e5e7eb; border-radius: 8px; padding: 10px 12px; }

/* 深色主题适配（AI 分析） */
.dark-theme .kpi-card { background: #374151; border-color: #4b5563; }
.dark-theme .kpi-icon { background: #312e81; color: #a5b4fc; }
.dark-theme .kpi-value { color: #f9fafb; }
.dark-theme .kpi-label { color: #9ca3af; }
.dark-theme .job-tips-list li { background: #1f2937; border-color: #374151; }
.dark-theme .progress-line { background: #312e81; border-color: #374151; }
.dark-theme .progress-text { color: #d1d5db; }
.dark-theme .skill-weight-item .label { color: #e5e7eb; }
.dark-theme .skill-weight-item .bar { background: #374151; border-color: #4b5563; }
.dark-theme .job-reasons-list li { background: #1f2937; border-color: #374151; }

/* AI 洞察分析文本样式 */
.ai-insight {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-left: 4px solid #3b82f6;
    border-radius: 8px;
    padding: 12px 16px;
    margin: 8px 0 16px 0;
    font-size: 0.9rem;
    line-height: 1.5;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.1);
    transition: all 0.3s ease;
}

.ai-insight:hover {
    background: linear-gradient(135deg, #e7f3ff 0%, #dbeafe 100%);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
}

.ai-insight i {
    color: #3b82f6;
    margin-right: 8px;
    font-size: 1rem;
}

.ai-insight span {
    color: #1e40af;
    font-weight: 500;
}

/* 匹配度解释文本样式 */
.match-interpretation {
    display: block;
    font-size: 0.75rem;
    color: #6b7280;
    margin-top: 4px;
    font-weight: 500;
}

/* 深色主题下的AI洞察样式 */
.dark-theme .ai-insight {
    background: linear-gradient(135deg, #1e293b 0%, #1e3a8a 100%);
    border-left-color: #60a5fa;
    box-shadow: 0 2px 8px rgba(96, 165, 250, 0.2);
}

.dark-theme .ai-insight:hover {
    background: linear-gradient(135deg, #1e293b 0%, #1e40af 100%);
    box-shadow: 0 4px 12px rgba(96, 165, 250, 0.25);
}

.dark-theme .ai-insight i {
    color: #60a5fa;
}

.dark-theme .ai-insight span {
    color: #bfdbfe;
}

.dark-theme .match-interpretation {
    color: #9ca3af;
}

/* 展开按钮样式 */
.btn-expand {
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    color: #3b82f6;
    font-size: 0.75rem;
    padding: 4px 8px;
    border-radius: 4px;
    transition: all 0.2s ease;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 28px;
}

.btn-expand:hover {
    background: rgba(59, 130, 246, 0.2);
    border-color: #3b82f6;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(59, 130, 246, 0.2);
}

.btn-expand i {
    font-size: 0.75rem;
}

/* 分析卡片头部布局调整 */
.analysis-card .card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    border-bottom: 1px solid var(--border-color);
}

.analysis-card .card-header h3 {
    margin: 0;
    flex: 1;
}

/* 分析详情模态框样式 */
.analysis-detail-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    backdrop-filter: blur(8px);
}

.analysis-detail-modal-content {
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    width: 90%;
    max-width: 1200px;
    height: 85%;
    max-height: 850px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: modalSlideIn 0.3s ease-out;
    position: relative;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.analysis-detail-modal-header {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: white;
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.analysis-detail-modal-header h3 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
}

.analysis-detail-modal-header h3 i {
    margin-right: 8px;
}

.analysis-detail-modal-close {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.analysis-detail-modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.analysis-detail-modal-body {
    flex: 1;
    display: flex;
    overflow: hidden;
}

/* 左侧详细数据区域 */
.analysis-detail-left {
    flex: 1;
    padding: 24px;
    overflow-y: auto;
    border-right: 1px solid var(--border-color);
    background: var(--card-bg);
}

.analysis-detail-content {
    height: 100%;
}

.analysis-detail-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 200px;
    color: var(--text-secondary);
}

.analysis-detail-loading i {
    font-size: 2rem;
    margin-bottom: 12px;
    color: #3b82f6;
}

/* 右侧AI分析区域 */
.analysis-detail-right {
    width: 420px;
    background: linear-gradient(135deg, var(--secondary-bg), rgba(59, 130, 246, 0.02));
    display: flex;
    flex-direction: column;
    border-left: 1px solid var(--border-color);
    position: relative;
}

.ai-analysis-section {
    padding: 24px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.ai-analysis-section h4 {
    margin: 0 0 16px 0;
    color: var(--text-primary);
    font-size: 1.1rem;
    display: flex;
    align-items: center;
}

.ai-analysis-section h4 i {
    margin-right: 8px;
    color: #3b82f6;
}

.ai-analysis-content {
    flex: 1;
    background: var(--card-bg);
    border-radius: 8px;
    padding: 18px;
    overflow-y: auto;
    margin-bottom: 16px;
    border: 1px solid var(--border-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    font-size: 0.9rem;
    line-height: 1.6;
}

.ai-analysis-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100px;
    color: var(--text-secondary);
}

.ai-analysis-loading i {
    font-size: 1.5rem;
    margin-bottom: 8px;
    color: #3b82f6;
}

.ai-analysis-actions {
    display: flex;
    gap: 8px;
}

.ai-analysis-actions .btn {
    flex: 1;
    font-size: 0.85rem;
    padding: 8px 12px;
}

/* AI分析内容样式 */
.ai-analysis-reason {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text-primary);
}

.ai-analysis-reason h5 {
    color: #3b82f6;
    font-size: 0.95rem;
    margin: 16px 0 8px 0;
    font-weight: 600;
}

.ai-analysis-reason ul {
    margin: 8px 0;
    padding-left: 20px;
}

.ai-analysis-reason li {
    margin: 4px 0;
    color: var(--text-secondary);
}

/* 增强的AI分析样式 */
.ai-analysis-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-color);
}

.ai-confidence {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
}

.confidence-label {
    color: var(--text-secondary);
}

.confidence-bar {
    width: 60px;
    height: 6px;
    background: var(--border-color);
    border-radius: 3px;
    overflow: hidden;
}

.confidence-fill {
    height: 100%;
    background: linear-gradient(90deg, #f59e0b, #10b981);
    transition: width 0.5s ease;
}

.confidence-value {
    color: #10b981;
    font-weight: 600;
}

.ai-summary {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05), rgba(16, 185, 129, 0.05));
    padding: 16px;
    border-radius: 8px;
    border-left: 4px solid #3b82f6;
    margin-bottom: 20px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.ai-summary i {
    color: #3b82f6;
    font-size: 1.2rem;
    margin-top: 2px;
}

.ai-summary p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-primary);
}

.analysis-explanation {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 16px;
}

.factors-analysis {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.factor-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: var(--secondary-bg);
    border-radius: 6px;
    border: 1px solid var(--border-color);
}

.factor-icon {
    color: #10b981;
    font-size: 1rem;
}

.factor-content {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.factor-text {
    color: var(--text-primary);
    font-size: 0.9rem;
}

.factor-weight {
    color: var(--text-secondary);
    font-size: 0.8rem;
    background: rgba(59, 130, 246, 0.1);
    padding: 2px 8px;
    border-radius: 12px;
}

.ai-insights {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

.insight-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px;
    background: rgba(16, 185, 129, 0.05);
    border-radius: 6px;
    border-left: 3px solid #10b981;
}

.insight-item i {
    color: #10b981;
    font-size: 0.9rem;
    margin-top: 2px;
}

.insight-item span {
    font-size: 0.85rem;
    line-height: 1.5;
    color: var(--text-primary);
}

.ai-analysis-highlight {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(16, 185, 129, 0.1));
    padding: 16px;
    border-radius: 8px;
    border: 1px solid rgba(59, 130, 246, 0.3);
    margin: 20px 0;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.ai-analysis-highlight i {
    color: #3b82f6;
    font-size: 1.2rem;
    margin-top: 2px;
}

.highlight-content strong {
    color: #3b82f6;
    font-size: 1rem;
    display: block;
    margin-bottom: 8px;
}

.highlight-content p {
    margin: 0;
    color: var(--text-primary);
    line-height: 1.6;
}

.improvement-plan {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.improvement-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: var(--secondary-bg);
    border-radius: 6px;
    border: 1px solid var(--border-color);
}

.step-number {
    background: #3b82f6;
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 600;
    flex-shrink: 0;
}

.improvement-content {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.improvement-text {
    color: var(--text-primary);
    font-size: 0.9rem;
}

.priority {
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}

.priority.high {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.priority.medium {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
}

.priority.low {
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
}

.ai-analysis-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.analysis-timestamp,
.analysis-version {
    display: flex;
    align-items: center;
    gap: 6px;
}

.analysis-timestamp i,
.analysis-version i {
    color: #3b82f6;
}

.ai-analysis-highlight {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(29, 78, 216, 0.1) 100%);
    border-left: 3px solid #3b82f6;
    padding: 12px;
    margin: 12px 0;
    border-radius: 0 6px 6px 0;
    font-weight: 500;
}

/* 详细分析内容样式 */
.detail-section {
    margin-bottom: 24px;
    padding: 20px;
    background: var(--card-bg);
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.detail-section h4 {
    margin: 0 0 16px 0;
    color: var(--text-primary);
    font-size: 1.1rem;
    display: flex;
    align-items: center;
}

.detail-section h4 i {
    margin-right: 8px;
    color: #3b82f6;
}

.detail-chart-container {
    height: 300px;
    margin: 16px 0;
}

.detail-metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin: 16px 0;
}

.detail-metric-card {
    background: var(--card-bg);
    padding: 16px;
    border-radius: 6px;
    text-align: center;
    border: 1px solid var(--border-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.detail-metric-value {
    font-size: 1.5rem;
    font-weight: 600;
    color: #3b82f6;
    margin-bottom: 4px;
}

.detail-metric-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* 深色主题适配 */
.dark-theme .btn-expand {
    background: rgba(96, 165, 250, 0.1);
    border-color: rgba(96, 165, 250, 0.3);
    color: #60a5fa;
}

.dark-theme .btn-expand:hover {
    background: rgba(96, 165, 250, 0.2);
    border-color: #60a5fa;
}

.dark-theme .analysis-detail-modal-content {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
}

.dark-theme .ai-analysis-highlight {
    background: linear-gradient(135deg, rgba(96, 165, 250, 0.1) 0%, rgba(59, 130, 246, 0.1) 100%);
    border-left-color: #60a5fa;
}

/* 时间轴样式 */
.experience-timeline {
    position: relative;
    padding-left: 24px;
}

.experience-timeline::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, #3b82f6, #60a5fa);
}

.timeline-item {
    position: relative;
    margin-bottom: 24px;
    padding-left: 24px;
}

.timeline-marker {
    position: absolute;
    left: -8px;
    top: 6px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #3b82f6;
    border: 3px solid var(--card-bg);
    box-shadow: 0 0 0 2px #3b82f6;
}

.timeline-content {
    background: var(--card-bg);
    padding: 16px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.timeline-content h5 {
    margin: 0 0 8px 0;
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 600;
}

.timeline-content p {
    margin: 0 0 12px 0;
    color: var(--text-secondary);
    line-height: 1.5;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.tech-tag {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 500;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

/* 能力雷达图详细分析样式 */
.capability-overview-section {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.capability-overview-dashboard {
    margin-top: 16px;
}

.overview-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.overview-stat-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.overview-stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2);
}

.overview-stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.overview-stat-card.primary::before {
    background: linear-gradient(90deg, #3b82f6, #1d4ed8);
}

.overview-stat-card.balance::before {
    background: linear-gradient(90deg, #10b981, #059669);
}

.overview-stat-card.strength::before {
    background: linear-gradient(90deg, #f59e0b, #d97706);
}

.overview-stat-card.potential::before {
    background: linear-gradient(90deg, #8b5cf6, #7c3aed);
}

.stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    background: linear-gradient(135deg, #667eea, #764ba2);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.overview-stat-card.primary .stat-icon {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.overview-stat-card.balance .stat-icon {
    background: linear-gradient(135deg, #10b981, #059669);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.overview-stat-card.strength .stat-icon {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.overview-stat-card.potential .stat-icon {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}

.stat-content {
    flex: 1;
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: #1f2937;
    line-height: 1;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 0.9rem;
    color: #6b7280;
    font-weight: 500;
    margin-bottom: 4px;
}

.stat-trend {
    font-size: 0.8rem;
    color: #3b82f6;
    font-weight: 600;
    background: rgba(59, 130, 246, 0.1);
    padding: 2px 8px;
    border-radius: 4px;
    display: inline-block;
}

.capability-radar-insights {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 24px;
}

.insight-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.insight-card h5 {
    margin: 0 0 12px 0;
    color: #1f2937;
    font-size: 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.insight-card h5 i {
    color: #667eea;
}

.insight-card p {
    margin: 0 0 16px 0;
    color: #4b5563;
    line-height: 1.6;
    font-size: 0.9rem;
}

.competitiveness-indicator {
    margin-top: 12px;
}

.indicator-bar {
    height: 10px;
    background: #f3f4f6;
    border-radius: 5px;
    overflow: hidden;
    margin-bottom: 8px;
    border: 1px solid #e5e7eb;
}

.indicator-fill {
    height: 100%;
    border-radius: 5px;
    transition: width 0.8s ease;
}

.indicator-text {
    font-size: 0.85rem;
    font-weight: 600;
    color: #374151;
}

/* 发展规划样式 */
.development-plan-section {
    background: linear-gradient(135deg, #fef7ff 0%, #f3e8ff 100%);
    border: 2px solid #e9d5ff;
}

.development-roadmap {
    margin: 20px 0;
}

.development-milestone {
    background: white;
    border-radius: 12px;
    margin-bottom: 20px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.development-milestone:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.milestone-header {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    color: white;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.milestone-number {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 700;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.milestone-info {
    flex: 1;
}

.milestone-info h5 {
    margin: 0 0 8px 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.milestone-meta {
    display: flex;
    gap: 16px;
    font-size: 0.85rem;
    opacity: 0.9;
}

.priority {
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.75rem;
}

.priority-high {
    background: rgba(239, 68, 68, 0.2);
    color: #fef2f2;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.priority-medium {
    background: rgba(245, 158, 11, 0.2);
    color: #fefbf2;
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.priority-low {
    background: rgba(16, 185, 129, 0.2);
    color: #f0fdf4;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.score-improvement {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.15);
    padding: 8px 12px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.current-score, .target-score {
    font-size: 1.1rem;
    font-weight: 700;
}

.current-score {
    color: rgba(255, 255, 255, 0.8);
}

.target-score {
    color: #ffffff;
}

.improvement-methods {
    padding: 20px;
}

.method-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
    padding: 12px;
    background: #f8fafc;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    transition: all 0.2s ease;
}

.method-item:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
}

.method-item i {
    color: #10b981;
    margin-top: 2px;
    font-size: 0.9rem;
}

.method-item span {
    color: #374151;
    line-height: 1.5;
    font-size: 0.9rem;
}

.development-summary {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 24px;
}

.summary-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.summary-card h5 {
    margin: 0 0 12px 0;
    color: #1f2937;
    font-size: 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.summary-card h5 i {
    color: #8b5cf6;
}

.summary-card p {
    margin: 0;
    color: #4b5563;
    line-height: 1.6;
    font-size: 0.9rem;
}

.phase-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.phase-list li {
    margin-bottom: 8px;
    color: #4b5563;
    line-height: 1.5;
    font-size: 0.9rem;
}

.phase-list li strong {
    color: #1f2937;
}

/* 深色主题适配 */
.dark-theme .capability-overview-section {
    background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
    border-color: #374151;
}

.dark-theme .overview-stat-card {
    background: #1f2937;
    border-color: #374151;
}

.dark-theme .stat-value {
    color: #f9fafb;
}

.dark-theme .stat-label {
    color: #9ca3af;
}

.dark-theme .stat-trend {
    color: #60a5fa;
    background: rgba(96, 165, 250, 0.1);
}

.dark-theme .insight-card {
    background: #1f2937;
    border-color: #374151;
}

.dark-theme .insight-card h5 {
    color: #f9fafb;
}

.dark-theme .insight-card p {
    color: #d1d5db;
}

.dark-theme .development-plan-section {
    background: linear-gradient(135deg, #1e1b4b 0%, #312e81 100%);
    border-color: #4338ca;
}

.dark-theme .development-milestone {
    background: #1f2937;
    border-color: #374151;
}

.dark-theme .method-item {
    background: #111827;
    border-color: #374151;
}

.dark-theme .method-item:hover {
    background: #1f2937;
    border-color: #4b5563;
}

.dark-theme .method-item span {
    color: #d1d5db;
}

.dark-theme .summary-card {
    background: #1f2937;
    border-color: #374151;
}

.dark-theme .summary-card h5 {
    color: #f9fafb;
}

.dark-theme .summary-card p {
    color: #d1d5db;
}

.dark-theme .phase-list li {
    color: #d1d5db;
}

.dark-theme .phase-list li strong {
    color: #f9fafb;
}

/* 增强版能力分析样式 */
.stat-detail {
    font-size: 0.75rem;
    color: #9ca3af;
    font-weight: 500;
    margin-top: 2px;
}

.capability-radar-container {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 24px;
    margin: 24px 0;
    background: white;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e5e7eb;
}

.radar-chart-section {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.radar-legend-section {
    padding: 16px;
}

.radar-legend-section h6 {
    margin: 0 0 16px 0;
    color: #374151;
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.radar-legend {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px;
    border-radius: 8px;
    transition: background-color 0.2s ease;
}

.legend-item:hover {
    background: #f8fafc;
}

.legend-color {
    width: 16px;
    height: 16px;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.legend-info {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.legend-skill {
    font-size: 0.85rem;
    color: #374151;
    font-weight: 500;
}

.legend-score {
    font-size: 0.8rem;
    color: #6b7280;
    font-weight: 600;
}

/* 增强版洞察卡片 */
.capability-insights-enhanced {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
    margin: 24px 0;
}

.insight-card-enhanced {
    background: white;
    border-radius: 16px;
    padding: 24px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.insight-card-enhanced::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
}

.insight-card-enhanced.personality::before {
    background: linear-gradient(90deg, #8b5cf6, #7c3aed);
}

.insight-card-enhanced.competitive::before {
    background: linear-gradient(90deg, #3b82f6, #1d4ed8);
}

.insight-card-enhanced.market::before {
    background: linear-gradient(90deg, #10b981, #059669);
}

.insight-card-enhanced:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

.insight-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid #f3f4f6;
}

.insight-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    background: linear-gradient(135deg, #667eea, #764ba2);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.insight-card-enhanced.personality .insight-icon {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}

.insight-card-enhanced.competitive .insight-icon {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.insight-card-enhanced.market .insight-icon {
    background: linear-gradient(135deg, #10b981, #059669);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.insight-title h5 {
    margin: 0 0 4px 0;
    color: #1f2937;
    font-size: 1.1rem;
    font-weight: 600;
}

.insight-subtitle {
    color: #6b7280;
    font-size: 0.85rem;
    font-weight: 500;
}

.insight-content {
    color: #4b5563;
    line-height: 1.6;
}

.insight-content p {
    margin: 0 0 16px 0;
    font-size: 0.9rem;
}

.insight-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.insight-tag {
    padding: 4px 12px;
    background: #f3f4f6;
    color: #374151;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
    border: 1px solid #e5e7eb;
}

/* 竞争力详细指标 */
.competitiveness-detailed {
    margin-top: 16px;
}

.indicator-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 0.85rem;
}

.indicator-row span:first-child {
    color: #374151;
    font-weight: 500;
    flex: 1;
}

.indicator-row span:last-child {
    color: #6b7280;
    font-weight: 600;
    margin-left: 8px;
    min-width: 40px;
    text-align: right;
}

.mini-progress {
    flex: 2;
    height: 8px;
    background: #f3f4f6;
    border-radius: 4px;
    overflow: hidden;
    margin: 0 12px;
    border: 1px solid #e5e7eb;
}

.mini-fill {
    height: 100%;
    background: linear-gradient(90deg, #60a5fa, #3b82f6);
    border-radius: 4px;
    transition: width 0.8s ease;
}

.mini-progress.primary .mini-fill {
    background: linear-gradient(90deg, #10b981, #059669);
}

/* 市场指标 */
.market-metrics {
    margin-top: 16px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.market-metric {
    background: #f8fafc;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.metric-label {
    display: block;
    font-size: 0.75rem;
    color: #6b7280;
    font-weight: 500;
    margin-bottom: 4px;
}

.metric-value {
    display: block;
    font-size: 0.85rem;
    color: #1f2937;
    font-weight: 600;
}

/* 深色主题适配 */
.dark-theme .stat-detail {
    color: #6b7280;
}

.dark-theme .capability-radar-container {
    background: #1f2937;
    border-color: #374151;
}

.dark-theme .radar-legend-section h6 {
    color: #f9fafb;
}

.dark-theme .legend-item:hover {
    background: #374151;
}

.dark-theme .legend-skill {
    color: #f9fafb;
}

.dark-theme .legend-score {
    color: #9ca3af;
}

.dark-theme .insight-card-enhanced {
    background: #1f2937;
    border-color: #374151;
}

.dark-theme .insight-header {
    border-bottom-color: #374151;
}

.dark-theme .insight-title h5 {
    color: #f9fafb;
}

.dark-theme .insight-subtitle {
    color: #9ca3af;
}

.dark-theme .insight-content {
    color: #d1d5db;
}

.dark-theme .insight-tag {
    background: #374151;
    color: #d1d5db;
    border-color: #4b5563;
}

.dark-theme .indicator-row span:first-child {
    color: #f9fafb;
}

.dark-theme .indicator-row span:last-child {
    color: #9ca3af;
}

.dark-theme .mini-progress {
    background: #374151;
    border-color: #4b5563;
}

.dark-theme .market-metric {
    background: #111827;
    border-color: #374151;
}

.dark-theme .metric-label {
    color: #9ca3af;
}

.dark-theme .metric-value {
    color: #f9fafb;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .analysis-detail-modal-content {
        width: 95%;
        height: 90%;
        max-height: none;
    }
    
    .analysis-detail-modal-body {
        flex-direction: column;
    }
    
    .analysis-detail-right {
        width: 100%;
        max-height: 300px;
        border-right: none;
        border-top: 1px solid var(--border-color);
    }
    
    .analysis-detail-left {
        border-right: none;
    }
    
    .detail-metrics-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
    
    .overview-stats-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    }
    
    .capability-radar-insights {
        grid-template-columns: 1fr;
    }
    
    .development-summary {
        grid-template-columns: 1fr;
    }
    
    .milestone-header {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
    
    .score-improvement {
        align-self: stretch;
        justify-content: center;
    }
    
    .capability-radar-container {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .radar-legend-section {
        padding: 12px;
    }
    
    .capability-insights-enhanced {
        grid-template-columns: 1fr;
    }
    
    .market-metrics {
        grid-template-columns: 1fr;
    }
}

/* 深色主题下的时间轴样式 */
.dark-theme .timeline-marker {
    background: #60a5fa;
    box-shadow: 0 0 0 2px #60a5fa;
}

.dark-theme .tech-tag {
    background: rgba(96, 165, 250, 0.1);
    color: #60a5fa;
    border-color: rgba(96, 165, 250, 0.2);
}

/* 匹配度分解样式 */
.breakdown-list {
    space-y: 12px;
}

.breakdown-item {
    margin-bottom: 12px;
}

.breakdown-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}

.breakdown-label {
    font-weight: 500;
    color: var(--text-primary);
}

.breakdown-score {
    font-weight: 600;
    font-size: 0.9rem;
}

.breakdown-bar {
    height: 8px;
    background: var(--secondary-bg);
    border-radius: 4px;
    overflow: hidden;
}

.breakdown-progress {
    height: 100%;
    border-radius: 4px;
    transition: width 0.3s ease;
}

/* 对比图表样式 */
.comparison-chart {
    margin: 16px 0;
}

.comparison-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
}

.comparison-item span:first-child {
    min-width: 100px;
    font-weight: 500;
    color: var(--text-primary);
}

.comparison-bar {
    flex: 1;
    height: 12px;
    background: var(--secondary-bg);
    border-radius: 6px;
    overflow: hidden;
}

.comparison-progress {
    height: 100%;
    background: linear-gradient(90deg, #3b82f6, #60a5fa);
    border-radius: 6px;
    transition: width 0.3s ease;
}

.comparison-item span:last-child {
    min-width: 40px;
    text-align: right;
    font-weight: 600;
    color: #3b82f6;
}

/* 推荐岗位列表样式 */
.positions-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.position-card {
    background: var(--secondary-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 16px;
    transition: all 0.2s ease;
}

.position-card:hover {
    background: var(--card-bg);
    border-color: #3b82f6;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.1);
}

.position-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.position-header h5 {
    margin: 0;
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 600;
}

.match-score {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
}

.position-details {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.position-details p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

.position-details i {
    width: 14px;
    color: #3b82f6;
}

/* 深色主题适配 */
.dark-theme .comparison-item span:last-child {
    color: #60a5fa;
}

.dark-theme .match-score {
    background: rgba(96, 165, 250, 0.1);
    color: #60a5fa;
}

.dark-theme .position-details i {
    color: #60a5fa;
}

/* ==================== 美化详情页面样式 ==================== */

/* 现代化详情容器 */
.modern-detail-container {
    max-width: 100%;
    margin: 0;
    padding: 0;
    animation: fadeInUp 0.6s ease-out;
}

/* 总览面板 */
.overview-panel {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 2rem;
    border-radius: 16px;
    margin-bottom: 1.5rem;
    position: relative;
    overflow: hidden;
}

.overview-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    pointer-events: none;
}

.score-circle-container {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.score-circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.score-circle::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 50%;
    background: conic-gradient(from 0deg, #667eea, #764ba2, #667eea);
    z-index: -1;
    opacity: 0.8;
}

.score-value {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
}

.score-label {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-top: 0.25rem;
}

.skill-level-badge {
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.skill-level-badge.专家级 {
    background: linear-gradient(45deg, #ffd700, #ff8c00);
    color: #333;
}

.skill-level-badge.熟练 {
    background: linear-gradient(45deg, #4ade80, #22c55e);
    color: white;
}

.skill-level-badge.入门 {
    background: linear-gradient(45deg, #60a5fa, #3b82f6);
    color: white;
}

.quick-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.stat-item {
    text-align: center;
    padding: 1rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-2px);
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    margin-top: 0.5rem;
    opacity: 0.9;
}

/* 技能分类展示 */
.skills-breakdown {
    margin-bottom: 2rem;
}

.skill-category {
    margin-bottom: 1.5rem;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.category-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.2rem 1.5rem;
    font-weight: 600;
    position: relative;
}

.skill-category.excellent .category-header {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: white;
}

.skill-category.good .category-header {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
}

.skill-category.attention .category-header {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
}

.category-header .count {
    margin-left: auto;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.8rem;
}

.skill-items {
    background: var(--bg-card);
    padding: 1rem;
}

.skill-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    margin-bottom: 0.75rem;
    border-radius: 12px;
    transition: all 0.3s ease;
    background: var(--bg-secondary);
    border: 1px solid transparent;
}

.skill-item:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.skill-item.excellent {
    border-color: #22c55e;
}

.skill-item.good {
    border-color: #3b82f6;
}

.skill-item.attention {
    border-color: #f59e0b;
}

.skill-info {
    flex: 1;
}

.skill-name {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.skill-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tag {
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
}

.tag.expert {
    background: #dcfce7;
    color: #166534;
}

.tag.gold {
    background: #fef3c7;
    color: #92400e;
}

.tag.intermediate {
    background: #dbeafe;
    color: #1e40af;
}

.tag.potential {
    background: #e0e7ff;
    color: #3730a3;
}

.tag.beginner {
    background: #fed7aa;
    color: #c2410c;
}

.tag.priority {
    background: #fee2e2;
    color: #dc2626;
}

.skill-score {
    font-size: 1.5rem;
    font-weight: 700;
    min-width: 60px;
    text-align: center;
}

.skill-bar {
    width: 200px;
    height: 8px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.skill-progress {
    height: 100%;
    transition: width 1s ease;
    border-radius: 4px;
}

.skill-progress.excellent {
    background: linear-gradient(90deg, #22c55e, #16a34a);
}

.skill-progress.good {
    background: linear-gradient(90deg, #3b82f6, #2563eb);
}

.skill-progress.attention {
    background: linear-gradient(90deg, #f59e0b, #d97706);
}

/* 图表区域 */
.chart-section {
    background: var(--bg-card);
    padding: 1.5rem;
    border-radius: 16px;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.radar-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.radar-legend {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.legend-color {
    width: 12px;
    height: 12px;
    border-radius: 2px;
}

.legend-color.excellent {
    background: #22c55e;
}

.legend-color.good {
    background: #3b82f6;
}

.legend-color.attention {
    background: #f59e0b;
}

/* 学习路径 */
.learning-roadmap {
    background: var(--bg-card);
    padding: 1.5rem;
    border-radius: 16px;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.roadmap-timeline {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.roadmap-phase {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.phase-marker {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.phase-content {
    flex: 1;
    background: var(--bg-secondary);
    padding: 1.5rem;
    border-radius: 12px;
    border-left: 4px solid #667eea;
}

.phase-content h5 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.phase-steps {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.step {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: rgba(102, 126, 234, 0.1);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.step:hover {
    background: rgba(102, 126, 234, 0.15);
    transform: translateX(4px);
}

.step i {
    color: #667eea;
    width: 16px;
}

.phase-duration {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-style: italic;
}

/* AI智能分析 */
.ai-insights {
    background: var(--bg-card);
    padding: 1.5rem;
    border-radius: 16px;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.insights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
}

.insight-card {
    padding: 1.5rem;
    border-radius: 12px;
    display: flex;
    gap: 1rem;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.insight-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.insight-card.strength {
    background: linear-gradient(135deg, #dcfce7, #bbf7d0);
    border-color: #22c55e;
}

.insight-card.improvement {
    background: linear-gradient(135deg, #dbeafe, #bfdbfe);
    border-color: #3b82f6;
}

.insight-card.learning {
    background: linear-gradient(135deg, #fed7aa, #fdba74);
    border-color: #f59e0b;
}

.insight-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.insight-card.strength .insight-icon {
    background: #22c55e;
    color: white;
}

.insight-card.improvement .insight-icon {
    background: #3b82f6;
    color: white;
}

.insight-card.learning .insight-icon {
    background: #f59e0b;
    color: white;
}

.insight-content h5 {
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-weight: 600;
}

.insight-content p {
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
}

/* 学习资源 */
.resources-section {
    background: var(--bg-card);
    padding: 1.5rem;
    border-radius: 16px;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.resource-category {
    margin-bottom: 1.5rem;
}

.resource-category h5 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.resource-items {
    display: grid;
    gap: 1rem;
}

.resource-item {
    background: var(--bg-secondary);
    padding: 1.2rem;
    border-radius: 12px;
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
}

.resource-item:hover {
    border-color: #667eea;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.2);
}

.resource-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.resource-title {
    font-weight: 600;
    color: var(--text-primary);
}

.resource-type {
    background: #667eea;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
}

.resource-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.resource-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(102, 126, 234, 0.1);
    color: #667eea;
    text-decoration: none;
    border-radius: 8px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.resource-link:hover {
    background: rgba(102, 126, 234, 0.2);
    transform: translateY(-1px);
}

.platform-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
}

.platform-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    background: var(--bg-secondary);
    border-radius: 12px;
    border: 1px solid var(--border-light);
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.platform-item:hover {
    border-color: #667eea;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.2);
}

.platform-item i {
    font-size: 2rem;
    color: #667eea;
}

.platform-item span {
    font-weight: 600;
    color: var(--text-primary);
}

.platform-item small {
    color: var(--text-secondary);
    font-size: 0.8rem;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .modern-detail-container {
        padding: 1rem;
    }
    
    .overview-panel {
        padding: 1.5rem;
    }
    
    .score-circle-container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .quick-stats {
        grid-template-columns: 1fr;
    }
    
    .insights-grid {
        grid-template-columns: 1fr;
    }
    
    .skill-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
    
    .skill-bar {
        width: 100%;
    }
    
    .platform-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.score-circle {
    animation: pulse 2s infinite;
}

/* 深色主题适配 */
.dark-theme .insight-card.strength {
    background: linear-gradient(135deg, #064e3b, #065f46);
}

.dark-theme .insight-card.improvement {
    background: linear-gradient(135deg, #1e3a8a, #1e40af);
}

.dark-theme .insight-card.learning {
    background: linear-gradient(135deg, #92400e, #b45309);
}

.dark-theme .tag.expert {
    background: #065f46;
    color: #bbf7d0;
}

.dark-theme .tag.gold {
    background: #92400e;
    color: #fef3c7;
}

.dark-theme .tag.intermediate {
    background: #1e40af;
    color: #dbeafe;
}

.dark-theme .tag.potential {
    background: #3730a3;
    color: #e0e7ff;
}

.dark-theme .tag.beginner {
    background: #c2410c;
    color: #fed7aa;
}

.dark-theme .tag.priority {
    background: #dc2626;
    color: #fee2e2;
}

/* ==================== 职位卡片美化样式 ==================== */

/* 职位展示区域 */
.positions-showcase {
    background: var(--bg-card);
    padding: 1.5rem;
    border-radius: 16px;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.positions-list-modern {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* 现代化职位卡片 */
.position-card-modern {
    background: var(--bg-secondary);
    border-radius: 16px;
    padding: 1.5rem;
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.position-card-modern:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
    border-color: #667eea;
}

.position-card-modern.excellent {
    border-left: 4px solid #22c55e;
}

.position-card-modern.good {
    border-left: 4px solid #3b82f6;
}

.position-card-modern.attention {
    border-left: 4px solid #f59e0b;
}

/* 职位丝带标签 */
.position-ribbon {
    position: absolute;
    top: 1rem;
    right: -0.5rem;
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    padding: 0.3rem 1rem;
    border-radius: 4px 0 0 4px;
    font-size: 0.8rem;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

.position-ribbon::after {
    content: '';
    position: absolute;
    top: 100%;
    right: 0;
    width: 0;
    height: 0;
    border-right: 0.5rem solid transparent;
    border-top: 0.3rem solid #5a6fd8;
}

/* 职位头部 */
.position-header-modern {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    gap: 1rem;
}

.position-title-section {
    flex: 1;
}

.position-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.company-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.company-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: #667eea;
}

.company-meta {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* 匹配度分数 */
.match-score-modern {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-width: 80px;
    padding: 1rem;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.match-score-modern.excellent {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.1), rgba(22, 163, 74, 0.1));
    border-color: #22c55e;
}

.match-score-modern.good {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(37, 99, 235, 0.1));
    border-color: #3b82f6;
}

.match-score-modern.attention {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(217, 119, 6, 0.1));
    border-color: #f59e0b;
}

.score-number {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
}

.match-score-modern.excellent .score-number {
    color: #22c55e;
}

.match-score-modern.good .score-number {
    color: #3b82f6;
}

.match-score-modern.attention .score-number {
    color: #f59e0b;
}

.score-text {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-top: 0.25rem;
}

/* 职位亮点 */
.position-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: rgba(102, 126, 234, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(102, 126, 234, 0.1);
}

.highlight-item i {
    font-size: 1.2rem;
    color: #667eea;
    flex-shrink: 0;
}

.highlight-content {
    display: flex;
    flex-direction: column;
}

.highlight-label {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 0.2rem;
}

.highlight-value {
    font-weight: 600;
    color: var(--text-primary);
}

/* 职位描述 */
.position-description {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.02);
    border-radius: 12px;
    border-left: 3px solid #667eea;
}

.position-description p {
    color: var(--text-primary);
    line-height: 1.6;
    margin-bottom: 0.75rem;
}

.requirements-text {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* 技能部分 */
.skills-section, .benefits-section {
    margin-bottom: 1.5rem;
}

.skills-section h6, .benefits-section h6 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
    font-weight: 600;
}

.skills-section i, .benefits-section i {
    color: #667eea;
}

.skills-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.skill-tag-modern {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.skill-tag-modern.normal {
    background: rgba(102, 126, 234, 0.1);
    color: #667eea;
    border: 1px solid rgba(102, 126, 234, 0.2);
}

.skill-tag-modern.hot {
    background: linear-gradient(45deg, #f59e0b, #d97706);
    color: white;
    border: 1px solid #f59e0b;
    animation: pulse-hot 2s infinite;
}

.skill-tag-modern.hot i {
    color: #fff3cd;
    animation: flicker 1.5s infinite;
}

/* 福利网格 */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 0.75rem;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
    background: rgba(34, 197, 94, 0.05);
    border-radius: 8px;
    font-size: 0.9rem;
}

.benefit-item i {
    color: #22c55e;
    font-size: 0.9rem;
}

/* 求职建议 */
.job-advice {
    background: var(--bg-card);
    padding: 1.5rem;
    border-radius: 16px;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.advice-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.advice-card {
    background: var(--bg-secondary);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
}

.advice-card:hover {
    border-color: #667eea;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.2);
}

.advice-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border-light);
}

.advice-header i {
    font-size: 1.5rem;
    color: #667eea;
}

.advice-header h5 {
    color: var(--text-primary);
    font-weight: 600;
    margin: 0;
}

.advice-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.advice-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.advice-list li::before {
    content: '✓';
    color: #22c55e;
    font-weight: bold;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

/* 动画效果 */
@keyframes pulse-hot {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.4);
    }
    50% {
        box-shadow: 0 0 0 8px rgba(245, 158, 11, 0);
    }
}

@keyframes flicker {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .position-header-modern {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .match-score-modern {
        align-self: flex-end;
        min-width: 60px;
        padding: 0.75rem;
    }
    
    .position-highlights {
        grid-template-columns: 1fr;
    }
    
    .skills-tags {
        justify-content: flex-start;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .advice-cards {
        grid-template-columns: 1fr;
    }
}

/* 深色主题适配 */
.dark-theme .position-description {
    background: rgba(255, 255, 255, 0.05);
}

.dark-theme .highlight-item {
    background: rgba(102, 126, 234, 0.1);
}

.dark-theme .benefit-item {
    background: rgba(34, 197, 94, 0.1);
}

/* ==================== 现代化技能匹配度列表 ==================== */
.skill-match-list-modern {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
}

.skill-match-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 0.9rem 1rem;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.skill-match-card:hover {
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.skill-match-card.excellent { border-left: 4px solid #22c55e; }
.skill-match-card.good { border-left: 4px solid #3b82f6; }
.skill-match-card.average { border-left: 4px solid #f59e0b; }

.skill-match-card .card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.score-badge {
    font-weight: 700;
    padding: 0.2rem 0.6rem;
    border-radius: 999px;
    font-size: 0.85rem;
    border: 1px solid transparent;
}

.score-badge.excellent { background: rgba(34, 197, 94, 0.12); color: #16a34a; border-color: rgba(34, 197, 94, 0.25); }
.score-badge.good { background: rgba(59, 130, 246, 0.12); color: #2563eb; border-color: rgba(59, 130, 246, 0.25); }
.score-badge.average { background: rgba(245, 158, 11, 0.12); color: #b45309; border-color: rgba(245, 158, 11, 0.25); }

.progress-modern {
    height: 8px;
    background: var(--border-light);
    border-radius: 6px;
    overflow: hidden;
}

.progress-modern .progress-fill {
    height: 100%;
    border-radius: 6px;
    transition: width 0.6s ease;
}

.progress-modern .progress-fill.excellent { background: linear-gradient(90deg, #22c55e, #10b981); }
.progress-modern .progress-fill.good { background: linear-gradient(90deg, #3b82f6, #2563eb); }
.progress-modern .progress-fill.average { background: linear-gradient(90deg, #f59e0b, #d97706); }

@media (max-width: 768px) {
    .skill-match-list-modern { gap: 0.6rem; }
}

/* 简洁的能力汇总网格 */
.capability-summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin: 20px 0;
}

/* 能力汇总卡片 */
.capability-summary-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
}

.capability-summary-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.capability-summary-card.excellent {
    border-left: 4px solid #10b981;
}

.capability-summary-card.good {
    border-left: 4px solid #3b82f6;
}

.capability-summary-card.needs-improvement {
    border-left: 4px solid #f59e0b;
}

.capability-summary-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.capability-summary-header h5 {
    color: #1f2937;
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
}

.score-display {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.capability-stars {
    margin: 8px 0;
}

.capability-stars .fa-star {
    color: #d1d5db;
    margin-right: 2px;
}

.capability-stars .fa-star.filled {
    color: #fbbf24;
}

.capability-progress-mini {
    background: #f3f4f6;
    border-radius: 10px;
    height: 8px;
    margin: 10px 0;
    overflow: hidden;
}

.capability-progress-mini .progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #10b981, #3b82f6);
    border-radius: 10px;
    transition: width 0.8s ease;
}

.capability-level-text {
    color: #6b7280;
    font-size: 0.85rem;
    text-align: center;
    font-weight: 500;
}

/* 优势亮点样式 */
.strength-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.strength-highlight-card {
    background: linear-gradient(135deg, #fef7ff 0%, #f3e8ff 100%);
    border: 2px solid #e879f9;
    border-radius: 16px;
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.3s ease;
}

.strength-highlight-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(232, 121, 249, 0.2);
}

.strength-badge {
    background: linear-gradient(135deg, #c084fc, #e879f9);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    flex-shrink: 0;
}

.strength-badge i {
    font-size: 1.2rem;
    margin-bottom: 2px;
}

.strength-score {
    font-size: 0.8rem;
}

.strength-info h5 {
    color: #581c87;
    margin: 0 0 8px 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.strength-info p {
    color: #7c3aed;
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.4;
}



/* 提升潜力分析增强样式 */
.potential-analysis-enhanced {
    background: linear-gradient(135deg, #fefbff 0%, #f3e8ff 100%);
    border-radius: 16px;
    padding: 25px;
    margin: 20px 0;
    border: 2px solid #e879f9;
}

.potential-overview {
    margin-bottom: 25px;
}

.potential-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 16px;
}

.potential-stat-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: white;
    padding: 16px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(232, 121, 249, 0.1);
}

.stat-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.stat-icon.growth {
    background: linear-gradient(135deg, #10b981, #059669);
}

.stat-icon.speed {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.stat-icon.time {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
}

.stat-info {
    flex: 1;
}

.stat-value {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0;
}

.stat-label {
    font-size: 0.85rem;
    color: #6b7280;
    margin: 0;
}

.improvement-opportunities-enhanced {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.improvement-item-enhanced {
    background: white;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
}

.improvement-item-enhanced:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.improvement-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
}

.skill-info {
    flex: 1;
}

.skill-name-enhanced {
    color: #1f2937;
    margin: 0 0 8px 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.skill-metrics {
    display: flex;
    align-items: center;
    gap: 12px;
}

.current-score, .target-score {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 600;
}

.improvement-arrow {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #10b981;
}

.improvement-percent {
    font-size: 0.8rem;
    font-weight: 600;
    color: #10b981;
}

.difficulty-badge {
    padding: 6px 12px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
}

.progress-visualization {
    margin: 16px 0;
}

.progress-track {
    height: 12px;
    background: #f3f4f6;
    border-radius: 6px;
    position: relative;
    overflow: hidden;
}

.progress-fill-current {
    height: 100%;
    background: linear-gradient(90deg, #e5e7eb, #d1d5db);
    border-radius: 6px;
    position: absolute;
    left: 0;
    top: 0;
}

.progress-fill-target {
    height: 100%;
    border-radius: 6px;
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0.8;
}

.progress-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
    font-size: 0.8rem;
    color: #6b7280;
}

.current-marker, .target-marker {
    font-weight: 600;
    color: #1f2937;
}

.improvement-details {
    margin: 16px 0;
}

.improvement-plan-enhanced {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
    padding: 16px;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-radius: 12px;
    border-left: 4px solid #0ea5e9;
}

.plan-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #0ea5e9, #0284c7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.plan-content h6 {
    color: #0c4a6e;
    margin: 0 0 8px 0;
    font-size: 0.95rem;
    font-weight: 600;
}

.plan-content p {
    color: #075985;
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.4;
}

.resources-milestones {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.resources-section, .milestones-section {
    background: #f8fafc;
    border-radius: 12px;
    padding: 16px;
}

.resources-section h6, .milestones-section h6 {
    color: #1f2937;
    margin: 0 0 12px 0;
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

.resource-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.resource-list li {
    color: #4b5563;
    font-size: 0.85rem;
    line-height: 1.4;
    margin-bottom: 6px;
    position: relative;
    padding-left: 16px;
}

.resource-list li:before {
    content: "•";
    color: #10b981;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.milestone-timeline {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.milestone-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.milestone-number {
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 600;
    flex-shrink: 0;
}

.milestone-text {
    color: #4b5563;
    font-size: 0.85rem;
    line-height: 1.3;
}

.improvement-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #e5e7eb;
}

.timeline-info, .success-rate {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #6b7280;
    font-size: 0.85rem;
}

.timeline-info i, .success-rate i {
    color: #8b5cf6;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .resources-milestones {
        grid-template-columns: 1fr;
    }
    
    .potential-stats {
        grid-template-columns: 1fr;
    }
    
    .skill-metrics {
        flex-wrap: wrap;
    }
}

/* ========================================
   智能匹配页面新功能样式
======================================== */

/* 自然语言搜索区域 */
.natural-language-search {
    margin-bottom: 2rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    padding: 2rem;
    color: white;
}

.search-header h3 {
    color: white;
    margin: 0 0 0.5rem 0;
    font-size: 1.5rem;
}

.search-header p {
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 1.5rem 0;
}

.search-input-area .input-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.search-input-area textarea {
    background: rgba(255, 255, 255, 0.95);
    border: none;
    border-radius: 8px;
    padding: 1rem;
    font-size: 1rem;
    resize: vertical;
    min-height: 80px;
}

.input-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.prompt-templates {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.template-label {
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    white-space: nowrap;
}

.template-btn {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.template-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
}

/* 个性化分析开关 */
.personalization-toggle {
    margin-bottom: 2rem;
}

.toggle-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.toggle-card:hover {
    border-color: #007bff;
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.1);
}

.toggle-content h4 {
    margin: 0 0 0.5rem 0;
    color: #333;
}

.toggle-content p {
    margin: 0;
    color: #666;
    font-size: 0.9rem;
}

/* 开关样式 */
.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider-switch {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.4s;
    border-radius: 34px;
}

.slider-switch:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: 0.4s;
    border-radius: 50%;
}

input:checked + .slider-switch {
    background-color: #007bff;
}

input:checked + .slider-switch:before {
    transform: translateX(26px);
}

/* 高级筛选 */
.advanced-filters {
    margin-bottom: 2rem;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    overflow: hidden;
}

.filters-header {
    background: #f8f9fa;
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #e9ecef;
}

.filters-header h3 {
    margin: 0;
    color: #333;
}

.toggle-filters-btn {
    background: none;
    border: none;
    color: #007bff;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.toggle-filters-btn:hover {
    color: #0056b3;
}

.filters-content {
    padding: 1.5rem;
}

.filter-section, .weight-section {
    margin-bottom: 2rem;
}

.filter-section h4, .weight-section h4 {
    color: #333;
    margin: 0 0 1rem 0;
    font-size: 1.1rem;
}

.weight-description {
    color: #666;
    margin: 0 0 1.5rem 0;
    font-size: 0.9rem;
}

.filter-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.filter-item label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #333;
}

.filter-item input, .filter-item select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 0.9rem;
}

.range-input {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.range-input input {
    flex: 1;
}

.range-input span {
    color: #666;
    font-weight: 500;
}

.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.checkbox-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: normal;
    cursor: pointer;
}

.checkbox-group input {
    width: auto;
}

/* 权重滑条 */
.weight-sliders {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.weight-item label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #333;
}

.weight-slider {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.weight-slider input[type="range"] {
    flex: 1;
    height: 6px;
    border-radius: 3px;
    background: #ddd;
    outline: none;
    appearance: none;
}

.weight-slider input[type="range"]::-webkit-slider-thumb {
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #007bff;
    cursor: pointer;
}

.weight-slider input[type="range"]::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #007bff;
    cursor: pointer;
    border: none;
}

.weight-value {
    font-weight: 600;
    color: #007bff;
    min-width: 40px;
    text-align: center;
}

/* 高级匹配控制 */
.advanced-matching-controls {
    margin-bottom: 2rem;
}

.advanced-matching-controls .advanced-filters {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.advanced-matching-controls .filters-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.advanced-matching-controls .filters-header h3 {
    margin: 0;
    font-size: 1.2rem;
}

.advanced-matching-controls .toggle-filters-btn {
    background: rgba(255,255,255,0.2);
    border: 1px solid rgba(255,255,255,0.3);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.advanced-matching-controls .toggle-filters-btn:hover {
    background: rgba(255,255,255,0.3);
}

.advanced-matching-controls .filters-content {
    padding: 2rem;
}

/* 权重预设按钮 */
.weight-presets {
    margin-top: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.weight-presets label {
    font-weight: 600;
    color: #333;
    margin-right: 0.5rem;
}

.preset-btn {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    color: #495057;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.preset-btn:hover {
    background: #007bff;
    color: white;
    border-color: #007bff;
}

.preset-btn.active {
    background: #007bff;
    color: white;
    border-color: #007bff;
}

/* 搜索模式选择 */
.search-mode-section {
    margin-bottom: 2rem;
}

.search-modes {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.radio-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.radio-option:hover {
    border-color: #007bff;
    background: #f8f9ff;
}

.radio-option input[type="radio"] {
    margin: 0;
}

.radio-option input[type="radio"]:checked + .radio-label {
    color: #007bff;
    font-weight: 600;
}

.radio-label {
    font-size: 0.95rem;
    color: #495057;
}

/* 自然语言搜索 */
.natural-language-section {
    margin-bottom: 2rem;
}

.nl-input-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.nl-input-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    font-size: 0.95rem;
    font-family: inherit;
    resize: vertical;
    min-height: 120px;
}

.nl-input-group textarea:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
}

.nl-input-group button {
    align-self: flex-start;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
}

/* 个性化分析按钮样式 */
.personalization-toggle .toggle-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
}

.personalization-toggle .toggle-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.personalization-toggle .toggle-content h4 {
    color: white;
}

.personalization-toggle .toggle-content p {
    color: rgba(255,255,255,0.9);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
}

/* 分析结果模态框 */
.analysis-results-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    animation: fadeIn 0.3s ease;
}

.analysis-results-modal .modal-content {
    background: white;
    border-radius: 12px;
    max-width: 800px;
    width: 90%;
    max-height: 90%;
    overflow-y: auto;
    animation: slideInUp 0.3s ease;
}

.analysis-results-modal .modal-header {
    padding: 1.5rem;
    border-bottom: 1px solid #dee2e6;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 12px 12px 0 0;
}

.analysis-results-modal .modal-header h3 {
    margin: 0;
    font-size: 1.3rem;
}

.analysis-results-modal .modal-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 4px;
    transition: background 0.3s ease;
}

.analysis-results-modal .modal-close:hover {
    background: rgba(255,255,255,0.2);
}

.analysis-results-modal .modal-body {
    padding: 2rem;
}

.analysis-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.summary-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 4px solid #007bff;
}

.summary-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.summary-content h4 {
    margin: 0 0 0.5rem 0;
    color: #333;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.summary-content .score,
.summary-content .position,
.summary-content .salary {
    font-size: 1.5rem;
    font-weight: 700;
    color: #007bff;
    margin: 0.25rem 0;
}

.summary-content p {
    margin: 0;
    color: #666;
    font-size: 0.9rem;
}

.analysis-recommendations {
    background: #fff;
    padding: 1.5rem;
    border-radius: 10px;
    border: 1px solid #e9ecef;
}

.analysis-recommendations h4 {
    margin: 0 0 1rem 0;
    color: #333;
}

.analysis-recommendations ul {
    margin: 0;
    padding-left: 1.5rem;
}

.analysis-recommendations li {
    margin-bottom: 0.75rem;
    color: #555;
    line-height: 1.6;
}

.modal-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #dee2e6;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
         }
 }

/* 权重预设按钮 */
.weight-presets {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    padding-top: 1rem;
    border-top: 1px solid #e9ecef;
}

.preset-label {
    font-weight: 600;
    color: #333;
    white-space: nowrap;
}

.preset-btn {
    background: #f8f9fa;
    border: 1px solid #ddd;
    color: #333;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.preset-btn:hover {
    background: #007bff;
    color: white;
    border-color: #007bff;
}

.preset-btn.active {
    background: #007bff;
    color: white;
    border-color: #007bff;
}

/* 匹配进度条更新 */
.progress-steps {
    display: flex;
    justify-content: space-between;
    margin-top: 1rem;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.step.active {
    opacity: 1;
}

.step.completed {
    opacity: 1;
    color: #28a745;
}

.step i {
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
}

.step span {
    font-size: 0.8rem;
    text-align: center;
}

/* 结果排序选项 */
.sort-options {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-right: 1rem;
}

.sort-options label {
    font-weight: 500;
    color: #333;
    white-space: nowrap;
}

.sort-options select {
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 0.9rem;
}

/* AI助手面板 */
.ai-assistant-panel {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    margin-bottom: 2rem;
    overflow: hidden;
}

.assistant-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.assistant-header h4 {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.toggle-assistant {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.toggle-assistant.collapsed {
    transform: rotate(180deg);
}

.assistant-content {
    padding: 1.5rem;
}

.assistant-chat {
    max-height: 200px;
    overflow-y: auto;
    margin-bottom: 1rem;
    padding: 1rem;
    background: white;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.chat-message {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.chat-message:last-child {
    margin-bottom: 0;
}

.chat-message i {
    color: #007bff;
    font-size: 1.2rem;
    margin-top: 0.25rem;
}

.message-content {
    flex: 1;
}

.message-content p {
    margin: 0 0 0.5rem 0;
}

.message-content ul {
    margin: 0;
    padding-left: 1.5rem;
}

.message-content li {
    margin-bottom: 0.25rem;
}

.assistant-input {
    display: flex;
    gap: 1rem;
}

.assistant-input input {
    flex: 1;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 0.9rem;
}

/* 全新现代化职位卡片设计 */
.job-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 24px;
    padding: 0;
    margin-bottom: 28px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 10px 15px -3px rgba(0, 0, 0, 0.1),
        0 4px 6px -2px rgba(0, 0, 0, 0.05),
        0 0 0 1px rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
}

.job-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.job-card:hover {
    transform: translateY(-12px) scale(1.03);
    box-shadow: 
        0 32px 64px -12px rgba(0, 0, 0, 0.25),
        0 0 0 1px rgba(102, 126, 234, 0.1),
        0 0 40px rgba(102, 126, 234, 0.15);
    border-color: rgba(102, 126, 234, 0.4);
}

.job-card:hover::before {
    opacity: 1;
}

.job-card.selected {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    transform: translateY(-4px);
}

.job-card.selected::before {
    opacity: 1;
}

/* 卡片内容容器 */
.job-card-content {
    padding: 24px;
}

/* 卡片头部 */
.job-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
    gap: 16px;
}

.job-card-title {
    flex: 1;
}

.job-card-title h4 {
    font-size: 1.375rem;
    font-weight: 700;
    color: #1a202c;
    margin: 0 0 8px 0;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.job-badge {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.job-match {
    background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
    color: white;
    padding: 12px 16px;
    border-radius: 16px;
    text-align: center;
    min-width: 80px;
    box-shadow: 0 4px 12px rgba(72, 187, 120, 0.3);
}

.job-match span {
    font-size: 1.25rem;
    font-weight: 700;
    display: block;
}

.job-match::after {
    content: '匹配度';
    font-size: 0.75rem;
    font-weight: 500;
    opacity: 0.9;
    display: block;
    margin-top: 2px;
}

/* 公司信息 */
.job-card-company {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    padding: 12px 16px;
    background: rgba(102, 126, 234, 0.05);
    border-radius: 12px;
    border-left: 4px solid #667eea;
}

.job-logo {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.job-card-company span {
    font-size: 1rem;
    font-weight: 600;
    color: #2d3748;
    flex: 1;
}

/* 职位信息 */
.job-card-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
    margin-bottom: 20px;
}

.job-card-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: #4a5568;
    padding: 8px 12px;
    background: rgba(247, 250, 252, 0.8);
    border-radius: 8px;
    border: 1px solid rgba(226, 232, 240, 0.6);
}

.job-card-meta i {
    color: #667eea;
    font-size: 0.875rem;
    width: 16px;
    text-align: center;
}

/* 推荐原因 */
.job-card-reasons {
    background: linear-gradient(135deg, #f0fff4 0%, #e6fffa 100%);
    border: 1px solid rgba(72, 187, 120, 0.2);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 20px;
}

.job-card-reasons .reason {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.875rem;
    color: #2f855a;
    margin-bottom: 8px;
    line-height: 1.4;
}

.job-card-reasons .reason:last-child {
    margin-bottom: 0;
}

.job-card-reasons .reason::before {
    content: '✓';
    color: #48bb78;
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 1px;
}

/* 技能标签 */
.job-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}

.job-tag {
    background: linear-gradient(135deg, #edf2f7 0%, #e2e8f0 100%);
    color: #4a5568;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(226, 232, 240, 0.8);
    transition: all 0.2s ease;
    cursor: pointer;
}

.job-tag:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

/* 操作按钮 */
.job-card-actions {
    display: flex;
    gap: 12px;
    padding-top: 20px;
    border-top: 1px solid rgba(226, 232, 240, 0.6);
}

.job-card-actions .btn {
    flex: 1;
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 0.875rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    text-decoration: none;
}

.job-card-actions .btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.job-card-actions .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
}

.job-card-actions .btn-secondary {
    background: rgba(102, 126, 234, 0.1);
    color: #667eea;
    border: 1px solid rgba(102, 126, 234, 0.2);
}

.job-card-actions .btn-secondary:hover {
    background: rgba(102, 126, 234, 0.2);
    transform: translateY(-1px);
}

.job-card-actions .btn-outline {
    background: transparent;
    color: #718096;
    border: 1px solid rgba(113, 128, 150, 0.3);
}

.job-card-actions .btn-outline:hover {
    background: rgba(113, 128, 150, 0.1);
    color: #4a5568;
}

.job-card-actions .btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.job-card-actions .btn.active {
    background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
    color: white;
}

/* 空状态样式 */
.empty-recommendations {
    text-align: center;
    padding: 60px 40px;
    background: linear-gradient(135deg, #f8fafc 0%, #edf2f7 100%);
    border: 2px dashed rgba(113, 128, 150, 0.3);
    border-radius: 20px;
    margin: 20px 0;
    color: #2d3748 !important;
}

.empty-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 32px rgba(102, 126, 234, 0.3);
}

.empty-icon i {
    font-size: 2rem;
    color: white;
}

.empty-recommendations h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2d3748;
    margin: 0 0 12px 0;
}

.empty-recommendations p {
    font-size: 1rem;
    color: #718096;
    margin: 0 0 32px 0;
}

.empty-suggestions {
    background: white;
    padding: 24px;
    border-radius: 16px;
    border: 1px solid rgba(226, 232, 240, 0.8);
    max-width: 400px;
    margin: 0 auto;
}

.empty-suggestions h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #4a5568;
    margin: 0 0 16px 0;
}

.empty-suggestions ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.empty-suggestions li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    font-size: 0.9rem;
    color: #718096;
}

.empty-suggestions li::before {
    content: '💡';
    font-size: 1.2rem;
}

/* 确保空状态所有文本颜色正确 */
.empty-recommendations,
.empty-recommendations * {
    color: #2d3748 !important;
}

.empty-recommendations h3 {
    color: #1a202c !important;
}

.empty-recommendations p {
    color: #718096 !important;
}

.empty-suggestions h4 {
    color: #4a5568 !important;
}

.empty-suggestions li {
    color: #718096 !important;
}

/* 加载和错误状态样式 */
.loading-state, .error-state {
    text-align: center;
    padding: 40px 20px;
}

.loading-spinner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    color: #667eea;
}

.loading-spinner i {
    font-size: 2rem;
    animation: spin 1s linear infinite;
}

.loading-spinner span {
    font-size: 1.1rem;
    color: #4a5568;
}

.error-message {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    color: #e53e3e;
}

.error-message i {
    font-size: 2rem;
}

.error-message span {
    font-size: 1.1rem;
    color: #4a5568;
    margin-bottom: 10px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* 职位匹配度样式 */
.job-title-container {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.job-rank {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-size: 0.75rem;
    font-weight: bold;
    padding: 2px 6px;
    border-radius: 12px;
    min-width: 28px;
    text-align: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.match-score-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.75rem;
    font-weight: bold;
    padding: 2px 8px;
    border-radius: 12px;
    margin-top: 4px;
}

.match-excellent {
    background: linear-gradient(135deg, #38a169 0%, #2f855a 100%);
    color: white;
}

.match-high {
    background: linear-gradient(135deg, #3182ce 0%, #2b77cb 100%);
    color: white;
}

.match-medium {
    background: linear-gradient(135deg, #ed8936 0%, #dd6b20 100%);
    color: white;
}

.match-low {
    background: linear-gradient(135deg, #e53e3e 0%, #c53030 100%);
    color: white;
}

.match-very-low {
    background: linear-gradient(135deg, #718096 0%, #4a5568 100%);
    color: white;
}

/* 高匹配度职位行样式 */
.high-match-job {
    background: linear-gradient(90deg, rgba(56, 161, 105, 0.05) 0%, transparent 100%);
    border-left: 4px solid #38a169;
    animation: highlightPulse 2s ease-in-out infinite;
}

.medium-match-job {
    background: linear-gradient(90deg, rgba(49, 130, 206, 0.05) 0%, transparent 100%);
    border-left: 4px solid #3182ce;
}

@keyframes highlightPulse {
    0%, 100% {
        box-shadow: 0 0 0 rgba(56, 161, 105, 0);
    }
    50% {
        box-shadow: 0 0 20px rgba(56, 161, 105, 0.1);
    }
}

/* ====== 视图切换控制 ====== */
.view-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding: 16px 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.view-toggle {
    display: flex;
    background: #f7fafc;
    border-radius: 8px;
    padding: 4px;
    gap: 2px;
}

.view-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: transparent;
    border: none;
    border-radius: 6px;
    color: #718096;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.view-btn:hover {
    background: #e2e8f0;
    color: #4a5568;
}

.view-btn.active {
    background: white;
    color: #667eea;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.sort-controls select {
    padding: 8px 12px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: white;
    color: #4a5568;
    font-size: 14px;
    cursor: pointer;
    min-width: 150px;
}

.sort-controls select:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

/* ====== 职位卡片网格 ====== */
.jobs-view {
    min-height: 400px;
}

.job-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 24px;
    padding: 4px;
}

/* ====== 职位卡片样式 ====== */
.job-card {
    background: white;
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05), 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
}

.job-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.job-card:hover::before {
    opacity: 1;
}

.job-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1), 0 8px 16px rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(10px);
}

.job-card.high-match-job {
    border-left: 4px solid #38a169;
    background: linear-gradient(135deg, rgba(56, 161, 105, 0.02) 0%, transparent 50%);
}

.job-card.high-match-job::before {
    background: linear-gradient(90deg, #38a169 0%, #48bb78 100%);
    opacity: 1;
}

/* ====== 卡片头部 ====== */
.job-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
}

.job-card-title {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 12px;
}

.job-card-title h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a202c;
    margin: 0;
    line-height: 1.3;
}

.job-rank {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-size: 12px;
    font-weight: 700;
    padding: 6px 10px;
    border-radius: 12px;
    min-width: 32px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(102, 126, 234, 0.3);
}

.job-badge {
    background: #e2e8f0;
    color: #4a5568;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 6px;
    white-space: nowrap;
}

.job-match {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 14px;
    color: white;
    position: relative;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.job-match:hover {
    transform: rotate(5deg) scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.job-match.match-excellent {
    background: linear-gradient(135deg, #38a169 0%, #48bb78 100%);
}

.job-match.match-high {
    background: linear-gradient(135deg, #4299e1 0%, #63b3ed 100%);
}

.job-match.match-medium {
    background: linear-gradient(135deg, #ed8936 0%, #f6ad55 100%);
}

.job-match.match-low {
    background: linear-gradient(135deg, #e53e3e 0%, #fc8181 100%);
}

/* ====== 卡片公司信息 ====== */
.job-card-company {
    margin-bottom: 16px;
}

.job-card-company span {
    font-size: 1.1rem;
    font-weight: 600;
    color: #667eea;
}

/* ====== 卡片元信息 ====== */
.job-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 16px;
    font-size: 14px;
    color: #718096;
}

.job-card-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.job-card-meta i {
    width: 16px;
    color: #a0aec0;
}

/* ====== 匹配原因 ====== */
.job-card-reasons {
    margin-bottom: 16px;
    padding: 12px;
    background: rgba(102, 126, 234, 0.05);
    border-radius: 8px;
    border-left: 3px solid #667eea;
}

.reason {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #4a5568;
    font-weight: 500;
}

.reason i {
    color: #667eea;
    font-size: 12px;
}

/* ====== 技能标签 ====== */
.job-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.job-tag {
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    color: #4a5568;
    font-size: 12px;
    font-weight: 500;
    padding: 6px 10px;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    transition: all 0.2s ease;
}

.job-tag:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    transform: translateY(-1px);
}

/* ====== 卡片操作按钮 ====== */
.job-card-actions {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
}

.job-card-actions .btn {
    flex: 1;
    min-width: auto;
    padding: 8px 12px;
    font-size: 13px;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.job-card-actions .btn:hover {
    transform: translateY(-1px);
}

/* ====== 动画效果 ====== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ====== 响应式设计 ====== */
@media (max-width: 768px) {
    .job-cards-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .view-controls {
        flex-direction: column;
        gap: 16px;
        align-items: stretch;
    }
    
    .view-toggle {
        justify-content: center;
    }
    
    .job-card {
        padding: 20px;
    }
    
    .job-card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .job-match {
        width: 60px;
        height: 60px;
        font-size: 12px;
    }
    
    .job-card-actions {
        flex-direction: column;
    }
}

/* 职位匹配度环形指示器 */
.job-match {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-weight: 800;
    font-size: 0.9rem;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
    transition: all 0.3s ease;
}

.job-match::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    background: linear-gradient(45deg, #667eea, #764ba2, #f093fb, #667eea);
    z-index: -1;
    animation: rotate 3s linear infinite;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.job-card:hover .job-match::before {
    opacity: 1;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* 匹配度等级样式 */
.job-match.match-excellent {
    background: linear-gradient(135deg, #38a169 0%, #2f855a 100%);
    box-shadow: 0 4px 12px rgba(56, 161, 105, 0.4);
}

.job-match.match-high {
    background: linear-gradient(135deg, #3182ce 0%, #2b77cb 100%);
    box-shadow: 0 4px 12px rgba(49, 130, 206, 0.4);
}

.job-match.match-medium {
    background: linear-gradient(135deg, #ed8936 0%, #dd6b20 100%);
    box-shadow: 0 4px 12px rgba(237, 137, 54, 0.4);
}

.job-match.match-low {
    background: linear-gradient(135deg, #e53e3e 0%, #c53030 100%);
    box-shadow: 0 4px 12px rgba(229, 62, 62, 0.4);
}

/* 职位卡片网格布局 */
.job-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 28px;
    margin-top: 24px;
    padding: 8px;
}

/* 卡片入场动画 */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.job-card {
    animation: slideInUp 0.6s ease-out forwards;
    opacity: 0;
}

.job-card[style*="animation-delay"] {
    animation-fill-mode: both;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .job-card {
        margin-bottom: 16px;
    }
    
    .job-card-content {
        padding: 20px;
    }
    
    .job-card-header {
        flex-direction: column;
        gap: 12px;
    }
    
    .job-match {
        align-self: flex-end;
        min-width: 70px;
        padding: 10px 14px;
    }
    
    .job-card-meta {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    
    .job-card-actions {
        flex-direction: column;
        gap: 8px;
    }
    
    .job-card-actions .btn {
        flex: none;
    }
    
    .job-cards-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .empty-recommendations {
        padding: 40px 20px;
    }
    
    .empty-icon {
        width: 60px;
        height: 60px;
    }
    
    .empty-icon i {
        font-size: 1.5rem;
    }
}

.action-buttons {
    display: flex;
    gap: 0.75rem;
}

.job-meta {
    font-size: 0.8rem;
    color: #666;
}

/* 多维匹配分数 */
.match-breakdown {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e9ecef;
}

.breakdown-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.breakdown-toggle {
    background: none;
    border: none;
    color: #007bff;
    cursor: pointer;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.score-bars {
    display: none;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 0.75rem;
}

.score-bars.expanded {
    display: grid;
}

.score-bar {
    text-align: center;
}

.score-bar-label {
    font-size: 0.75rem;
    color: #666;
    margin-bottom: 0.25rem;
}

.score-bar-fill {
    height: 4px;
    background: #e9ecef;
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 0.25rem;
}

.score-bar-progress {
    height: 100%;
    background: linear-gradient(90deg, #28a745, #20c997);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.score-bar-value {
    font-size: 0.75rem;
    font-weight: 600;
    color: #333;
}

/* 订阅模态框 */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-content {
    background: white;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-header {
    padding: 1.5rem;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    margin: 0;
    color: #333;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #666;
    cursor: pointer;
}

.modal-body {
    padding: 1.5rem;
}

.modal-footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid #e9ecef;
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
}

.subscription-form .form-group {
    margin-bottom: 1.5rem;
}

.subscription-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #333;
}

.subscription-form input,
.subscription-form select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 0.9rem;
}

/* 响应式设计更新 */
@media (max-width: 768px) {
    .filter-grid {
        grid-template-columns: 1fr;
    }
    
    .weight-sliders {
        grid-template-columns: 1fr;
    }
    
    .job-header {
        flex-direction: column;
        gap: 1rem;
    }
    
    .job-actions {
        flex-direction: column;
        gap: 1rem;
    }
    
    .action-buttons {
        justify-content: center;
    }
    
    .prompt-templates {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .input-actions {
        flex-direction: column;
    }
    
    .sort-options {
        flex-direction: column;
        gap: 0.5rem;
        margin-right: 0;
        margin-bottom: 1rem;
    }
}

/* ==================== 筛选区域美化样式 ==================== */
.filters-section {
    margin-top: 20px;
    padding: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}

.filters-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

.filters-header h3 {
    color: white;
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.filters-header h3 i {
    font-size: 20px;
    opacity: 0.9;
}

#toggleFiltersBtn {
    background: rgba(255,255,255,0.2);
    border: 1px solid rgba(255,255,255,0.3);
    color: white;
    padding: 10px 16px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}

#toggleFiltersBtn:hover {
    background: rgba(255,255,255,0.3);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

#filtersContent {
    display: none;
    padding: 25px;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.filter-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.filter-group {
    position: relative;
}

.filter-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #2d3748;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.filter-group input,
.filter-group select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 14px;
    background: white;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.filter-group input:focus,
.filter-group select:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    transform: translateY(-2px);
}

.filter-group input::placeholder {
    color: #a0aec0;
    font-style: italic;
}

.checkbox-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 12px;
    margin-top: 8px;
}

.checkbox-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: normal;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 8px;
    transition: all 0.2s ease;
    background: rgba(102, 126, 234, 0.05);
    border: 1px solid rgba(102, 126, 234, 0.1);
    text-transform: none;
    letter-spacing: normal;
}

.checkbox-group label:hover {
    background: rgba(102, 126, 234, 0.1);
    transform: translateY(-1px);
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin: 0;
    accent-color: #667eea;
}

.filter-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
}

.filter-actions .btn {
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 14px;
}

.filter-actions .btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.filter-actions .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.filter-actions .btn-secondary {
    background: #f7fafc;
    color: #4a5568;
    border: 1px solid #e2e8f0;
}

.filter-actions .btn-secondary:hover {
    background: #edf2f7;
    transform: translateY(-1px);
}

/* 筛选区域响应式设计 */
@media (max-width: 768px) {
    .filter-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .checkbox-group {
        grid-template-columns: 1fr;
    }
    
    #filtersContent {
        padding: 20px;
    }
    
    .filter-actions {
        flex-direction: column;
    }
    
    .filter-actions .btn {
        width: 100%;
    }
    
    .filters-header {
        padding: 15px 20px;
    }
    
    .filters-header h3 {
        font-size: 16px;
    }
}

/* 自然语言搜索样式 */
.natural-language-search-section {
    margin-bottom: 2rem;
}

.nl-search-card {
    background: var(--bg-card);
    border-radius: 16px;
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: all 0.3s ease;
}

.nl-search-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-2px);
}

.nl-search-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1.5rem 2rem;
    text-align: center;
}

.nl-search-header h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.nl-search-header p {
    opacity: 0.9;
    font-size: 0.95rem;
}

.nl-search-content {
    padding: 2rem;
}

.nl-input-container textarea {
    width: 100%;
    min-height: 120px;
    padding: 1rem;
    border: 2px solid var(--border-light);
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
    background: var(--bg-input);
    color: var(--text-primary);
    resize: vertical;
    transition: all 0.3s ease;
}

.nl-input-container textarea:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    outline: none;
}

.nl-search-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1.5rem;
    gap: 2rem;
}

.search-mode-selector {
    flex: 1;
}

.search-mode-selector label {
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    display: block;
}

.search-mode-options {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.search-mode-options .radio-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 1px solid var(--border-light);
    background: var(--bg-secondary);
}

.search-mode-options .radio-option:hover {
    background: rgba(102, 126, 234, 0.1);
    border-color: #667eea;
}

.search-mode-options .radio-option input[type="radio"] {
    margin: 0;
}

.search-mode-options .radio-option .radio-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
}

#nlSearchBtn {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    white-space: nowrap;
    min-width: 180px;
}

/* 个人画像数据源选择样式 */
.profile-data-source {
    margin: 2rem 0;
}

.source-card {
    background: var(--bg-card);
    border-radius: 16px;
    box-shadow: var(--shadow);
    padding: 2rem;
    transition: all 0.3s ease;
}

.source-header {
    text-align: center;
    margin-bottom: 2rem;
}

.source-header h3 {
    color: var(--text-primary);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.source-header p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.source-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.source-option {
    position: relative;
}

.source-option-label {
    display: block;
    cursor: pointer;
    background: var(--bg-secondary);
    border: 2px solid var(--border-light);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    height: 100%;
}

.source-option-label:hover {
    border-color: #667eea;
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.1);
    transform: translateY(-2px);
}

.source-checkbox {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 20px;
    height: 20px;
    accent-color: #667eea;
}

.source-content {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.source-icon {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.source-info h4 {
    color: var(--text-primary);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.source-description {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.4;
}

.source-checkbox:checked + .source-content .source-icon {
    background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
}

.source-option-label:has(.source-checkbox:checked) {
    border-color: #27ae60;
    background: rgba(39, 174, 96, 0.05);
}

.source-option-label:has(.source-checkbox:disabled) {
    opacity: 0.6;
    cursor: not-allowed;
}

.source-option-label:has(.source-checkbox:disabled):hover {
    transform: none;
    box-shadow: none;
    border-color: var(--border-light);
}

/* 高级筛选控件增强样式 */
.advanced-matching-controls {
    margin: 2rem 0;
}

.advanced-filters {
    background: var(--bg-card);
    border-radius: 16px;
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: all 0.3s ease;
}

.filters-header {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: white;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.filters-header h3 {
    margin: 0;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.toggle-filters-btn {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.toggle-filters-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

.filters-content {
    padding: 2rem;
}

.filter-section {
    margin-bottom: 2rem;
}

.filter-section h4 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.1rem;
}

.weight-section .weight-description {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    font-style: italic;
}

/* 页面整体美化 */
.feature-container {
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feature-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    border-radius: 16px;
    border: 1px solid rgba(102, 126, 234, 0.2);
}

.feature-header h2 {
    color: var(--text-primary);
    font-size: 2rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.feature-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* 卡片悬停效果增强 */
.card, .source-card, .nl-search-card, .advanced-filters {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.card:hover, .source-card:hover, .nl-search-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* 响应式设计增强 */
@media (max-width: 768px) {
    .source-options {
        grid-template-columns: 1fr;
    }
    
    .nl-search-controls {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }
    
    .search-mode-options {
        justify-content: center;
    }
    
    #nlSearchBtn {
        min-width: auto;
        width: 100%;
    }
    
    .feature-header h2 {
        font-size: 1.6rem;
    }
    
    .filters-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .nl-search-content, .source-card, .filters-content {
        padding: 1rem;
    }
    
    .feature-header {
        padding: 1.5rem;
    }
    
    .source-content {
        flex-direction: column;
        text-align: center;
    }
    
    .source-checkbox {
        position: static;
        margin-top: 1rem;
    }
}

/* 职位推荐卡片样式 - 已统一使用 job-card 样式 */

.job-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.job-title-section .job-title {
    color: var(--text-primary);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    line-height: 1.4;
}

.job-title-section .company-name {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin: 0;
}

.match-score {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 80px;
}

.score-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-bottom: 0.25rem;
}

.high-match .score-circle {
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: white;
}

.medium-match .score-circle {
    background: linear-gradient(135deg, #FF9800, #f57c00);
    color: white;
}

.low-match .score-circle {
    background: linear-gradient(135deg, #f44336, #d32f2f);
    color: white;
}

.score-number {
    font-size: 1.1rem;
    font-weight: 700;
}

.score-percent {
    font-size: 0.7rem;
    font-weight: 500;
}

.match-label {
    color: var(--text-muted);
    font-size: 0.75rem;
    text-align: center;
    margin: 0;
}

.job-card-content {
    margin-top: 1rem;
}

.job-info-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.info-item i {
    width: 16px;
    color: #667eea;
}

.match-reasons {
    background: rgba(102, 126, 234, 0.05);
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
    border-left: 3px solid #667eea;
}

.match-reasons h5 {
    color: var(--text-primary);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.match-reasons h5 i {
    color: #4CAF50;
}

.match-reasons ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.match-reasons li {
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin-bottom: 0.25rem;
    padding-left: 1rem;
    position: relative;
}

.match-reasons li::before {
    content: '•';
    color: #667eea;
    position: absolute;
    left: 0;
}

.job-card-actions {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
}

.job-card-actions .btn {
    flex: 1;
    max-width: 150px;
}

/* 空结果状态样式 */
.empty-results {
    text-align: center;
    padding: 3rem 2rem;
    background: var(--bg-card);
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.empty-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.empty-icon i {
    font-size: 2rem;
    color: #667eea;
}

.empty-results h3 {
    color: var(--text-primary);
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.empty-results > p {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 2rem;
    line-height: 1.5;
}

.empty-suggestions {
    background: rgba(102, 126, 234, 0.05);
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    text-align: left;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.empty-suggestions h4 {
    color: var(--text-primary);
    font-size: 1rem;
    margin-bottom: 1rem;
    text-align: center;
}

.empty-suggestions ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.empty-suggestions li {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
    line-height: 1.4;
}

.empty-suggestions li::before {
    content: '💡';
    position: absolute;
    left: 0;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .job-card-header {
        flex-direction: column;
        gap: 1rem;
    }
    
    .match-score {
        align-self: center;
    }
    
    .job-info-row {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .job-card-actions {
        flex-direction: column;
    }
    
    .job-card-actions .btn {
        max-width: none;
    }
}

@media (max-width: 480px) {
    .job-recommendation-card {
        padding: 1rem;
    }
    
    .empty-results {
        padding: 2rem 1rem;
    }
    
    .empty-suggestions {
        padding: 1rem;
    }
}

/* ===========================================
   AI智能匹配相关样式
   =========================================== */

.requirement-analysis-section {
    background: var(--bg-form);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-light);
}

.analysis-header {
    margin-bottom: 1.5rem;
}

.analysis-header h3 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.analysis-header p {
    color: var(--text-secondary);
    margin: 0;
}

.analysis-items {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.analysis-item {
    background: rgba(255, 255, 255, 0.8);
    border-radius: 8px;
    padding: 1.5rem;
    border-left: 4px solid #3498db;
    transition: all 0.3s ease;
}

.analysis-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.item-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.item-header i {
    font-size: 1.2rem;
    margin-right: 0.5rem;
}

.item-name {
    font-weight: 600;
    color: var(--text-primary);
    flex-grow: 1;
}

.importance-badge {
    background: #3498db;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
}

.item-content .preference {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.keywords {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.keyword-tag {
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
}

.ai-job-card {
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    background: var(--bg-form);
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    position: relative;
}

.ai-job-card::before {
    content: '🤖';
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 1.2rem;
    opacity: 0.6;
}

.ai-job-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-color: #667eea;
}

.job-header {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.job-rank {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.job-title-section {
    flex-grow: 1;
}

.job-title {
    color: var(--text-primary);
    margin: 0 0 0.25rem 0;
    font-size: 1.2rem;
    font-weight: 600;
}

.company-name {
    color: var(--text-secondary);
    margin: 0;
    font-size: 0.9rem;
}

.match-score-section {
    text-align: center;
}

.overall-score {
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    color: white;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    min-width: 80px;
}

.score-value {
    display: block;
    font-size: 1.4rem;
    font-weight: bold;
    margin-bottom: 0.25rem;
}

.score-label {
    font-size: 0.8rem;
    opacity: 0.9;
}

.dimension-scores {
    background: rgba(0, 0, 0, 0.02);
    border-radius: 8px;
    padding: 1rem;
    margin: 1rem 0;
}

.scores-header {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
}

.scores-list {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.dimension-score {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: white;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    font-size: 0.85rem;
    font-weight: 500;
}

.match-reasons {
    margin: 1rem 0;
}

.reasons-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.reasons-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.reasons-list li {
    background: #e8f5e8;
    color: #2e7d32;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    margin-bottom: 0.5rem;
    font-size: 0.85rem;
    border-left: 3px solid #4CAF50;
}

.improvement-suggestions {
    margin: 1rem 0;
}

.suggestions-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.suggestions-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.suggestions-list li {
    background: #fff3e0;
    color: #e65100;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    margin-bottom: 0.5rem;
    font-size: 0.85rem;
    border-left: 3px solid #ff9800;
}

.remote-tag {
    background: linear-gradient(135deg, #9c27b0 0%, #673ab7 100%);
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* AI智能匹配结果样式全面优化 */
#matchingResults {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.02), rgba(255, 255, 255, 0.08));
    border-radius: 20px;
    padding: 2rem;
    margin: 2rem 0;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.1),
        0 8px 25px rgba(0, 0, 0, 0.05),
        inset 0 1px 1px rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
}

#matchingResults::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #667eea, #764ba2, #667eea);
    background-size: 200% 100%;
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { background-position: 200% 0; }
    50% { background-position: -200% 0; }
}

/* 结果头部优化 */
.results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    position: relative;
}

.results-header h3 {
    color: white;
    margin: 0;
    font-size: 1.4rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
}

.results-header h3 i {
    color: #667eea;
    background: rgba(102, 126, 234, 0.15);
    padding: 0.5rem;
    border-radius: 10px;
    font-size: 1.1rem;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.2);
}

.results-actions {
    display: flex;
    gap: 1rem;
}

.results-actions .btn {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 18px;
    font-weight: 500;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(8px);
}

.results-actions .btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* 需求分析部分 - 现代化设计 */
.requirement-analysis-section {
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.95) 0%, 
        rgba(248, 250, 252, 0.98) 100%);
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 2rem;
    border: 2px solid rgba(102, 126, 234, 0.1);
    box-shadow: 
        0 20px 60px rgba(102, 126, 234, 0.15),
        0 8px 25px rgba(0, 0, 0, 0.08),
        inset 0 1px 2px rgba(255, 255, 255, 0.9);
    position: relative;
    overflow: hidden;
}

.requirement-analysis-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, 
        #667eea 0%, #764ba2 25%, 
        #f093fb 50%, #f5576c 75%, 
        #4facfe 100%);
    border-radius: 20px 20px 0 0;
}

.analysis-header {
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
    padding-top: 1rem;
}

.analysis-header h3 {
    color: #1e293b;
    font-size: 1.6rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: none;
}

.analysis-brain-icon {
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: brain-pulse 2s ease-in-out infinite;
}

@keyframes brain-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.analysis-header p {
    color: #64748b;
    font-size: 1rem;
    font-weight: 400;
    max-width: 600px;
    margin: 0 auto 1rem;
    line-height: 1.6;
}

.analysis-summary {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.summary-badge {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.no-analysis {
    color: #64748b;
    font-style: italic;
    background: rgba(239, 68, 68, 0.1);
    padding: 1rem;
    border-radius: 12px;
    border-left: 4px solid #ef4444;
}

.analysis-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.analysis-item.modern-card {
    background: white;
    border-radius: 16px;
    padding: 0;
    border: 2px solid transparent;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 8px 25px rgba(0, 0, 0, 0.08),
        0 3px 12px rgba(0, 0, 0, 0.05);
}

.item-gradient-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--item-gradient);
}

.analysis-item.modern-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 
        0 25px 60px rgba(0, 0, 0, 0.15),
        0 12px 40px var(--item-color)20;
    border-color: var(--item-color);
}

.item-header {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem 1.5rem 1rem;
    margin-bottom: 0;
    border-bottom: 1px solid rgba(102, 126, 234, 0.1);
}

.icon-container {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--item-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
}

.icon-container i {
    font-size: 1.2rem;
    color: var(--item-color);
}

.item-title-group {
    flex: 1;
    min-width: 0;
}

.item-name {
    color: #1e293b;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    display: block;
    line-height: 1.3;
}

.importance-display {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.importance-bar {
    flex: 1;
    height: 8px;
    background: rgba(102, 126, 234, 0.1);
    border-radius: 4px;
    overflow: hidden;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
}

.importance-fill {
    height: 100%;
    background: var(--item-gradient);
    border-radius: 4px;
    transition: width 0.6s ease;
    animation: fill-animation 1.5s ease-out;
}

@keyframes fill-animation {
    from { width: 0% !important; }
}

.importance-text {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--item-color);
    min-width: 35px;
    text-align: center;
}

.item-content {
    padding: 0 1.5rem 1.5rem;
}

.preference-text {
    position: relative;
    margin-bottom: 1rem;
}

.quote-icon {
    color: var(--item-color);
    font-size: 0.8rem;
    opacity: 0.6;
    margin-right: 0.5rem;
}

.preference {
    color: #374151;
    line-height: 1.6;
    font-size: 0.95rem;
    font-weight: 400;
    margin: 0;
    padding-left: 1rem;
    border-left: 3px solid var(--item-color);
    background: var(--item-bg);
    padding: 0.75rem 1rem;
    border-radius: 8px;
}

.keywords-section {
    margin-top: 1rem;
}

.keywords-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    color: #64748b;
    font-size: 0.85rem;
    font-weight: 600;
}

.keywords-header i {
    color: var(--item-color);
    font-size: 0.8rem;
}

.keywords {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.keyword-tag.modern-tag {
    background: var(--item-bg);
    color: var(--item-color);
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid var(--item-color);
    transition: all 0.3s ease;
}

.keyword-tag.modern-tag:hover {
    background: var(--item-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--item-color)30;
}

.data-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    padding: 0.75rem;
    background: rgba(239, 68, 68, 0.1);
    border-radius: 8px;
    color: #dc2626;
    font-size: 0.85rem;
    font-weight: 500;
    border-left: 3px solid #dc2626;
}

.analysis-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(102, 126, 234, 0.1);
    margin-top: 1rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.analysis-actions {
    display: flex;
    gap: 1rem;
}

.btn-modern {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.btn-modern:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.btn-modern-outline {
    background: transparent;
    color: #667eea;
    border: 2px solid #667eea;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-modern-outline:hover {
    background: #667eea;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.analysis-tips {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #64748b;
    font-size: 0.85rem;
    font-style: italic;
}

.analysis-tips i {
    color: #fbbf24;
    animation: tip-glow 2s ease-in-out infinite;
}

@keyframes tip-glow {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

.keywords {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.keyword-tag {
    padding: 0.25rem 0.75rem;
    border-radius: 14px;
    font-size: 0.8rem;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    backdrop-filter: blur(8px);
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.keyword-tag:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* 匹配统计样式全面优化 */
.matching-stats {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.06));
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 
        0 8px 24px rgba(0, 0, 0, 0.08),
        inset 0 1px 1px rgba(255, 255, 255, 0.15);
    position: relative;
    overflow: hidden;
}

.matching-stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.6), transparent);
}

.stats-header h3 {
    color: white;
    font-size: 1.3rem;
    margin-bottom: 1.25rem;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    font-weight: 600;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.2);
}

.stats-header h3 i {
    color: #667eea;
    background: rgba(102, 126, 234, 0.12);
    padding: 0.5rem;
    border-radius: 10px;
    font-size: 1rem;
    box-shadow: 0 2px 12px rgba(102, 126, 234, 0.2);
}

.stats-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
}

.stats-content .stat-item {
    text-align: center;
    padding: 1.25rem 1rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04));
    border-radius: 14px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    box-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.08),
        inset 0 1px 1px rgba(255, 255, 255, 0.15);
    position: relative;
    overflow: hidden;
}

.stats-content .stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.stats-content .stat-item:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.08));
    transform: translateY(-4px) scale(1.02);
    box-shadow: 
        0 12px 40px rgba(0, 0, 0, 0.12),
        0 4px 20px rgba(102, 126, 234, 0.15),
        inset 0 1px 1px rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.25);
}

.stats-content .stat-item:hover::before {
    opacity: 1;
}

.stat-icon {
    font-size: 1.8rem;
    color: #667eea;
    margin-bottom: 1rem;
    background: rgba(102, 126, 234, 0.12);
    width: 60px;
    height: 60px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    box-shadow: 0 4px 16px rgba(102, 126, 234, 0.2);
    backdrop-filter: blur(8px);
}

.stat-content h4 {
    color: white;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.2);
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-content p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9rem;
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* 职位列表区域优化 */
.jobs-section {
    margin-top: 1.5rem;
}

.jobs-section h3 {
    color: white;
    font-size: 1.3rem;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.2);
}

.jobs-section h3 i {
    color: #667eea;
    background: rgba(102, 126, 234, 0.12);
    padding: 0.5rem;
    border-radius: 10px;
    font-size: 1rem;
    box-shadow: 0 2px 12px rgba(102, 126, 234, 0.2);
}

.jobs-list {
    display: grid;
    gap: 1.25rem;
}

/* AI职位卡片样式 - 紧凑版 - 全新视觉设计 */
.job-card.ai-job-card {
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.95) 0%, 
        rgba(248, 250, 252, 0.9) 50%, 
        rgba(241, 245, 249, 0.95) 100%);
    border-radius: 16px;
    padding: 0.8rem;
    margin-bottom: 0.8rem;
    backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 255, 255, 0.8);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 8px 32px rgba(102, 126, 234, 0.08),
        0 4px 16px rgba(0, 0, 0, 0.04),
        inset 0 1px 2px rgba(255, 255, 255, 0.9);
}

.job-card.ai-job-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, 
        #667eea 0%, 
        #764ba2 25%, 
        #f093fb 50%, 
        #f5576c 75%, 
        #4facfe 100%);
    background-size: 300% 100%;
    animation: gradient-flow 6s ease-in-out infinite;
}

@keyframes gradient-flow {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.job-card.ai-job-card::after {
    content: '✨';
    position: absolute;
    top: 0.8rem;
    right: 0.8rem;
    font-size: 1.2rem;
    opacity: 0.6;
    animation: sparkle 3s ease-in-out infinite;
}

@keyframes sparkle {
    0%, 100% { transform: scale(1) rotate(0deg); opacity: 0.6; }
    50% { transform: scale(1.1) rotate(180deg); opacity: 0.9; }
}

.job-card.ai-job-card:hover {
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.98) 0%, 
        rgba(248, 250, 252, 0.95) 50%, 
        rgba(239, 246, 255, 0.98) 100%);
    transform: translateY(-6px) scale(1.02);
    box-shadow: 
        0 20px 60px rgba(102, 126, 234, 0.15),
        0 12px 32px rgba(118, 75, 162, 0.1),
        0 8px 16px rgba(0, 0, 0, 0.06),
        inset 0 1px 3px rgba(255, 255, 255, 0.95);
    border-color: rgba(102, 126, 234, 0.3);
}

.job-header {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 0.6rem;
    padding-bottom: 0.6rem;
    border-bottom: 2px solid rgba(102, 126, 234, 0.1);
}

.job-rank {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.8rem;
    min-width: 40px;
    text-align: center;
    box-shadow: 
        0 2px 8px rgba(102, 126, 234, 0.25),
        inset 0 1px 1px rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.08);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.job-title-section {
    flex: 1;
}

.job-title {
    color: #1e293b;
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
    line-height: 1.3;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.5);
}

.company-name {
    color: #64748b;
    font-size: 0.8rem;
    margin: 0;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.company-name::before {
    content: '🏢';
    font-size: 0.75rem;
}

.match-score-section {
    text-align: center;
    min-width: 80px;
}

.overall-score {
    background: linear-gradient(135deg, 
        rgba(34, 197, 94, 0.15) 0%, 
        rgba(16, 185, 129, 0.1) 100%);
    padding: 0.5rem 0.6rem;
    border-radius: 12px;
    border: 2px solid rgba(34, 197, 94, 0.2);
    box-shadow: 
        0 3px 12px rgba(34, 197, 94, 0.15),
        inset 0 1px 2px rgba(255, 255, 255, 0.8);
}

.overall-score::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #4CAF50, #81C784, #4CAF50);
    background-size: 200% 100%;
    animation: score-shimmer 2s ease-in-out infinite;
}

@keyframes score-shimmer {
    0%, 100% { background-position: 200% 0; }
    50% { background-position: -200% 0; }
}

.score-value {
    display: block;
    font-size: 1.1rem;
    font-weight: 800;
    color: #16a34a;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
    line-height: 1;
}

.score-label {
    color: #059669;
    font-size: 0.65rem;
    font-weight: 600;
    margin-top: 0.2rem;
    display: block;
    line-height: 1;
}

/* 职位详情样式 */
.job-details {
    margin-bottom: 0.6rem;
}

.job-info {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 0.6rem;
    padding-bottom: 0.6rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.job-info span {
    color: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.remote-tag {
    background: rgba(76, 175, 80, 0.2);
    color: #4CAF50;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 500;
}

/* 职位信息区域优化 */
.job-info span {
    color: rgba(255, 255, 255, 0.95);
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.75rem;
    font-weight: 500;
    padding: 0.2rem 0.4rem;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(8px);
    transition: all 0.3s ease;
}

.job-info span:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-1px);
}

.job-info span i {
    color: #667eea;
    font-size: 0.8rem;
}

/* 维度分数样式优化 */
.dimension-scores {
    margin-bottom: 0.6rem;
}

.scores-header {
    color: rgba(255, 255, 255, 0.95);
    font-weight: 600;
    margin-bottom: 0.4rem;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.scores-header::before {
    content: "📊";
    font-size: 0.8rem;
}

.scores-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
    gap: 0.4rem;
}

.dimension-score {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.1));
    padding: 0.3rem;
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.1rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.dimension-score::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.6), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.dimension-score:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.12));
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
}

.dimension-score:hover::before {
    opacity: 1;
}

.dimension-score i {
    font-size: 0.7rem;
    margin-bottom: 0.1rem;
}

.dimension-score span {
    color: white;
    font-weight: 600;
    font-size: 0.7rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}

/* 推荐理由和改进建议样式优化 */
.match-reasons,
.improvement-suggestions {
    margin-bottom: 0.6rem;
}

.reasons-header,
.suggestions-header {
    color: rgba(255, 255, 255, 0.95);
    font-weight: 600;
    margin-bottom: 0.4rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.75rem;
}

.reasons-header i,
.suggestions-header i {
    background: rgba(102, 126, 234, 0.15);
    padding: 0.2rem;
    border-radius: 6px;
    color: #667eea;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.15);
    font-size: 0.7rem;
}

.reasons-list,
.suggestions-list {
    list-style: none;
    padding: 0;
    display: grid;
    gap: 0.4rem;
}

.reasons-list li {
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.2), rgba(76, 175, 80, 0.1));
    padding: 0.3rem 0.4rem;
    border-radius: 6px;
    color: rgba(255, 255, 255, 0.95);
    border-left: 2px solid #4CAF50;
    line-height: 1.4;
    font-weight: 500;
    font-size: 0.7rem;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(76, 175, 80, 0.3);
    transition: all 0.3s ease;
    position: relative;
}

.reasons-list li::before {
    content: "✓";
    position: absolute;
    left: -1px;
    top: 50%;
    transform: translateY(-50%);
    background: #4CAF50;
    color: white;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.6rem;
    font-weight: bold;
}

.reasons-list li:hover {
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.2), rgba(76, 175, 80, 0.12));
    transform: translateX(5px);
}

.suggestions-list li {
    background: linear-gradient(135deg, rgba(255, 152, 0, 0.2), rgba(255, 152, 0, 0.1));
    padding: 0.3rem 0.4rem;
    border-radius: 6px;
    color: rgba(255, 255, 255, 0.95);
    border-left: 2px solid #FF9800;
    line-height: 1.4;
    font-weight: 500;
    font-size: 0.7rem;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 152, 0, 0.3);
    transition: all 0.3s ease;
    position: relative;
}

.suggestions-list li::before {
    content: "💡";
    position: absolute;
    left: -6px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 152, 0, 0.2);
    padding: 0.1rem;
    border-radius: 4px;
    font-size: 0.6rem;
}

.suggestions-list li:hover {
    background: linear-gradient(135deg, rgba(255, 152, 0, 0.2), rgba(255, 152, 0, 0.12));
    transform: translateX(5px);
}

.reasons-list li:last-child,
.suggestions-list li:last-child {
    margin-bottom: 0;
}

/* 职位操作按钮样式优化 */
.job-actions {
    display: flex;
    gap: 0.4rem;
    justify-content: flex-end;
    padding-top: 0.6rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    margin-top: 0.6rem;
}

.job-actions .btn {
    padding: 0.3rem 0.6rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.7rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(12px);
    border: 1px solid transparent;
}

.job-actions .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.job-actions .btn:hover::before {
    left: 100%;
}

.job-actions .btn-outline-primary {
    background: rgba(52, 152, 219, 0.1);
    color: #3498db;
    border-color: rgba(52, 152, 219, 0.4);
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.2);
}

.job-actions .btn-outline-primary:hover {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    border-color: #3498db;
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.3);
}

.job-actions .btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: rgba(102, 126, 234, 0.4);
    color: white;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.job-actions .btn-primary:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 28px rgba(102, 126, 234, 0.4);
    border-color: rgba(102, 126, 234, 0.5);
}

/* 空结果状态样式全面优化 */
.no-results {
    text-align: center;
    padding: 5rem 3rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.08));
    border-radius: 25px;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.1),
        inset 0 1px 1px rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.no-results::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.6), transparent);
}

.empty-icon {
    font-size: 5rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 2.5rem;
    background: rgba(102, 126, 234, 0.1);
    width: 120px;
    height: 120px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 8px 30px rgba(102, 126, 234, 0.2);
    backdrop-filter: blur(15px);
}

.no-results h3 {
    color: white;
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.3);
}

.no-results p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.2rem;
    margin-bottom: 3rem;
    line-height: 1.6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.empty-suggestions {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.05));
    padding: 2.5rem;
    border-radius: 20px;
    margin-bottom: 3rem;
    text-align: left;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(15px);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.1),
        inset 0 1px 1px rgba(255, 255, 255, 0.2);
}

.empty-suggestions h4 {
    color: white;
    margin-bottom: 1.5rem;
    text-align: center;
    font-size: 1.3rem;
    font-weight: 700;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.empty-suggestions ul {
    list-style: none;
    padding: 0;
    display: grid;
    gap: 1rem;
}

.empty-suggestions li {
    color: rgba(255, 255, 255, 0.95);
    padding: 1rem 1rem 1rem 3rem;
    position: relative;
    line-height: 1.6;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border-left: 3px solid #667eea;
    transition: all 0.3s ease;
    font-weight: 500;
}

.empty-suggestions li::before {
    content: "💡";
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2rem;
}

.empty-suggestions li:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
}

.no-results .btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 25px;
    font-weight: 700;
    font-size: 1.1rem;
    border: none;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(15px);
}

.no-results .btn:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.6);
}

/* 错误消息样式 */
.error-message {
    text-align: center;
    padding: 2rem;
    color: #ff6b6b;
    background: rgba(255, 107, 107, 0.1);
    border-radius: 10px;
    border: 1px solid rgba(255, 107, 107, 0.3);
    font-weight: 500;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .analysis-items {
        grid-template-columns: 1fr;
    }
    
    .job-header {
        flex-direction: column;
        gap: 1rem;
    }
    
    .match-score-section {
        align-self: flex-start;
    }
    
    .scores-list {
        justify-content: center;
    }
    
    .dimension-score {
        font-size: 0.8rem;
    }
}